Add DataFast to your Framer site
Follow these steps to integrate DataFast analytics into your Framer site.
Add tracking script using Custom Code
Framer allows you to add custom code to your site through the Custom Code feature.
-
Open your Framer project
-
Click on the Settings icon in the top right
-
Select Custom Code
-
In the Head section, paste your DataFast tracking script:
<script defer data-website-id="dfid_******" data-domain="you_domain.com" src="https://datafa.st/js/script.js" ></script>Replace
dfid_******with your actual Website ID from DataFast. Replaceyou_domain.comwith your website's root domain. -
Click Save
Verify installation
After implementing:
- Visit your live website
- Check your DataFast dashboard for incoming data
- It might take a few minutes for the first pageviews to appear
For advanced configuration options like localhost tracking, custom API endpoints, or cross-domain setup, see the script configuration reference.