Install Trfyx on Webflow
Add Trfyx to your Webflow site using Site settings → Custom Code. This installs the tracker site-wide so your published pages can send analytics data to your Trfyx project.Before you start: Make sure you have access to your Webflow site’s Custom Code settings and have a Trfyx project ready in app.trfyx.com.
Add the tracker
1
Open Site Settings
In your Webflow dashboard, select the site you want to track and open Site settings.
2
Open Custom Code
Open the Custom Code tab and find the Head Code section. Site-wide head code is added to the
<head> of your published pages.3
Add the Trfyx snippet
Paste the following snippet into Head Code:
4
Save and publish
Click Save changes, then publish your Webflow site. Custom code may appear while testing in Webflow, but the changes are not live until the site is published.
Verify installation
After publishing, verify the live website rather than relying only on the Webflow Designer.- Open your published domain in a new browser tab.
- Visit a few pages and navigate between them.
- Open app.trfyx.com and select the Trfyx project connected to that domain.
- Confirm that new activity is appearing for the correct project and hostname.
If you test using Webflow Preview, make sure custom code is enabled. For the final verification, use the published site because Webflow custom-code changes do not become live until publication.
Troubleshooting
No data is appearing in Trfyx
No data is appearing in Trfyx
Confirm that you replaced both placeholders with the correct Trfyx project ID and domain. Then make sure the Webflow site was published after saving the custom code.
The tracker is not loading
The tracker is not loading
Open your browser’s Developer Tools and check the Console and Network tabs for blocked requests or Content Security Policy errors. Also confirm that the snippet contains both the opening and closing
<script> tags.I am seeing duplicate page views
I am seeing duplicate page views
Check whether Trfyx has also been installed through Google Tag Manager, another Webflow integration, or custom code on individual pages. Keep one tracker installation for the same site unless you intentionally handle duplicate collection.
Should I put the code on every page?
Should I put the code on every page?
No. Use Webflow’s site-wide Head Code section when you want Trfyx across the entire site. Use page-level custom code only when you intentionally want tracking on specific pages.
Important Webflow notes
If your site uses a strict Content Security Policy (CSP) or a consent-management platform, make sure your configuration allows the Trfyx script and analytics requests required by your setup.Next steps
Once installation is verified, continue with:- Quickstart — Set up your first Trfyx analytics workflow.
- Goals — Define important user actions and conversions.
- Funnels — Understand where users convert or drop off.
- Troubleshooting — Diagnose missing or unexpected data.