Add DataFast to your Wix site
Follow these steps to integrate DataFast analytics into your Wix site.
Add tracking script using Custom Code
Wix allows you to add custom code through the Tracking & Analytics settings.
-
Open your Wix Editor
-
Go to Settings > Tracking & Analytics
-
Click + New Tool
-
Select Custom from the dropdown
-
In the code box, paste your DataFast tracking script:
<script defer data-website-id="YOUR_WEBSITE_ID" data-domain="YOUR_DOMAIN.COM" src="https://datafa.st/js/script.js" ></script>
Replace
YOUR_WEBSITE_ID
with your actual Website ID from DataFast. ReplaceYOUR_DOMAIN.COM
with your website's root domain. -
Set the following options:
- Add Code to Pages: Select "All pages"
- Place Code in: Select "Head"
-
Click Apply
Alternative: Using HTML embed
You can also add the script using an HTML element:
- In the Wix Editor, click Add (+)
- Go to Embed > HTML iframe
- Paste the DataFast tracking script
- Position the HTML element in your page header
Verify installation
After implementing:
- Publish your Wix site
- Visit your live website
- Check your DataFast dashboard for incoming data
- It might take a few minutes for the first pageviews to appear
Note: Custom code features require a Wix Premium plan. The tracking script will not work on the free plan.