On Webflow, the snippet goes into the site-wide head code, so every page loads it. Buttons and forms are tracked with custom attributes in the Designer, without writing JavaScript.
1. Add your site with its live domain
trackr.link records hits only from the site's domain and its subdomains. Add the site in trackr.link with the custom domain your visitors use, such as example.com. Visits to the webflow.io staging domain are not counted, unless that is the domain you added.
2. Copy your snippet
Open the site in trackr.link and copy its snippet. It looks like this, with your own site id:
<script defer data-site="YOUR_SITE_ID" src="https://pulse.trackr.link/t.js"></script>
3. Add it to the head code
- Open your project's Site settings and go to Custom code.
- Paste the snippet into Head code.
- Save, then publish the site to your custom domain.
Webflow publishes site-wide custom code only on a paid site plan. Don't also paste the snippet into a page's own custom code: that page would then count every view twice.
4. Track buttons and links
Select a button or link in the Designer, open Element settings, and add custom attributes:
| Name | Value |
|---|---|
data-trackr-event |
cta_click |
data-trackr-prop-location |
hero |
The tracker sends a cta_click event with location: hero whenever the element is clicked. Give each place its own location value, and use a different event name for each action you want to count apart, such as demo_request.
5. Track form submissions
A click on a submit button also counts submits that fail validation. For a count of successful submits, send the form to a thank-you page:
- Create a page such as
/thank-you. - Select the form block, open its settings, and set Redirect URL to
/thank-you. - In trackr.link, add a goal for the path
/thank-you.
6. Links to other sites and downloads
The tracker records clicks on links to another host as Outbound Link: Click, and clicks on files such as PDFs as File Download, each with the URL. You don't need attributes for these. Add a goal for either when it is a conversion for you, such as a link to your app in an app store.
7. Check that it works
Publish, then open your site on its custom domain in an ordinary browser window and visit a few pages. Your dashboard opens when the first pageview arrives. Click a button you tagged, and its event shows up among the events on your dashboard.
8. Read your first visits
Every visit counts in a channel, such as Organic Search, Email or AI. Channels and UTM parameters lists the rules that decide which one, and AI traffic shows how visits from ChatGPT, Claude, Perplexity and other assistants are recognized. To tag the links you share in campaigns, use the UTM builder.