Set up Flowsery Analytics on a Wix site
This guide walks you through adding Flowsery Analytics tracking to your Wix website.
Add the snippet via Tracking & Analytics
Wix provides a Tracking & Analytics section for injecting custom code.
-
Open your Wix Editor
-
Go to Settings > Tracking & Analytics
-
Click + New Tool
-
Choose Custom from the dropdown
-
Paste the Flowsery Analytics snippet in the code box:
<script defer data-fl-website-id="flid_******" data-domain="your_domain.com" src="https://analytics.flowsery.com/js/script.js" ></script>Replace
flid_******with the Website ID from your Flowsery Analytics settings. Replaceyour_domain.comwith the root domain of your site. -
Configure these options:
- Add Code to Pages: Select "All pages"
- Place Code in: Select "Head"
-
Click Apply
Alternative: HTML embed element
You can also embed the snippet using an HTML element:
- In the Wix Editor, click Add (+)
- Navigate to Embed > HTML iframe
- Paste the Flowsery Analytics tracking snippet
- Position the HTML element in the page header area
Confirm everything is working
After setup:
- Publish your Wix site
- Navigate to your live URL
- Open your Flowsery Analytics dashboard and check for incoming pageviews
- Allow a couple of minutes for the first data to appear
For additional options such as localhost tracking, custom API endpoints, or cross-domain configuration, refer to the script configuration reference.
Note: Custom code features require a Wix Premium plan. The tracking snippet will not function on the free tier.