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.

  1. Open your Wix Editor

  2. Go to Settings > Tracking & Analytics

  3. Click + New Tool

  4. Select Custom from the dropdown

  5. 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. Replace YOUR_DOMAIN.COM with your website's root domain.

  6. Set the following options:

    • Add Code to Pages: Select "All pages"
    • Place Code in: Select "Head"
  7. Click Apply

Alternative: Using HTML embed

You can also add the script using an HTML element:

  1. In the Wix Editor, click Add (+)
  2. Go to Embed > HTML iframe
  3. Paste the DataFast tracking script
  4. 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.

Something missing? Suggest features ✍️