Custom code for Carrot sites
Add the appropriate code snippet in Carrot Site > Settings > Analytics & Scripts > Footer Scripts – run after the site is loaded
This should be added to all sites.
Options are passed in as a JSON object.
"alignment": "left | center (default)"
"type": "logo | link (default)"
"utm_source": "client (default)"
"utm_medium": "footer (default)"
"utm_campaign": "brand (default)"
"utm_content": "[referring_base_url] (default)"
"utm_term": "keyword_used_in_link"
- generally only used with PAID ads
<!-- To insert the div with image and link -->
<script src="https://cdn.jsdelivr.net/gh/retoolkit/carrot/dist/attr.min.js" id="io.retoolkit.attr" data-option='{"type": "logo"}' defer></script>
<!-- To insert just the text link -->
<script src="https://cdn.jsdelivr.net/gh/retoolkit/carrot/dist/attr.min.js" defer></script>