If you're running a blog funnel, advertorial, or any self-hosted page that links to your store, you'll want to make sure tracking parameters like gclid, fbclid, and your utm_* tags carry over from the blog page to the checkout. Without this, your ad platforms can't connect the conversion back to the click that started it, and your reporting will look like the traffic came from nowhere.
Our link decoration script handles this for you. When someone lands on your page with tracking parameters in the URL, the script copies those parameters onto every outbound link, so they follow the visitor through to your store.
What you'll need
A blog page, advertorial, landing page, funnel, or any HTML page where you can edit the <head> element. The same script works across all your stores and all your blog pages, so you only need to set this up once per template.
Setup
Step 1. Add the script
Paste this line inside the <head> element of your blog pages:
<script src="https://cdn.trackbee.ai/link_decoration.js" defer></script>
If you're using a template or theme, add it to the template once and it'll apply across every page built from it.
Step 2. Confirm it's installed
Open your blog page in the browser, right click, and select "View page source". You should see the script tag in the <head>. That's enough to confirm it's loaded.
Test that it's working
The fastest way to verify before you go live:
Add a couple of test parameters to your blog page URL, for example:
https://yourdomain.com/your-blog-page?gclid=test&utm_source=testClick the link or button that leads to your store.
Check the URL on the next page. You should see
?gclid=test&utm_source=testcarried over.
If the parameters are there, you're set. If they're not, double check that the script is loaded in the <head> and that no older custom script is overriding it.
What's not supported
If your page uses JavaScript to move visitors to the next step (clicks that change the page through JS instead of following a standard <a href> link), the script can't catch those. Most blog funnels use normal links, so this rarely comes up in practice. The test above will tell you within a minute whether your setup is compatible.
Need a hand?
If the test doesn't show your parameters carrying through, send us a message with the URL of your blog page and we'll take a look.