Skip to main content

Connecting Funnelish to TrackBee (Link Decoration)

Pass tracking parameters from your Funnelish funnels to your Shopify store so your ad platforms can attribute orders correctly.

Written by Julia
Updated today

This guide walks you through adding the TrackBee link decoration script to your Funnelish funnels. The script makes sure tracking parameters (like UTMs, gclid, fbclid, etc.) are carried over when a visitor clicks through from your funnel to your Shopify store. Without it, this data is lost and can't be forwarded to your connected ad platforms, which means orders may not be attributed to the right ads or campaigns.


What this does

When a visitor lands on your Funnelish funnel from an ad, the URL contains tracking parameters. The TrackBee link decoration script picks up those parameters and automatically appends them to every link and button that points to your Shopify store. This way, TrackBee can collect the tracking data and forward it to your connected platforms (Meta, Google, TikTok, Pinterest, etc.), so those platforms can attribute the sale to the right ad.

The script also stores the parameters for the duration of the visit, so even when a visitor navigates to a second funnel page (where the URL no longer has parameters), links on that page are still decorated.


Prerequisites

Before you start, make sure you have:

  • A Funnelish account with at least one active funnel

  • A TrackBee account with your Shopify store connected

  • Links or buttons in your funnel that point to your Shopify store


Step 1: Open your funnel settings

  1. Log in to Funnelish and open the funnel you want to set up.

  2. Click the Settings icon (gear icon) in the left sidebar to open the funnel settings.


Step 2: Go to Custom Codes / Tracking Codes

  1. In the settings panel, click "Custom codes" (also labeled "Tracking Codes" in some Funnelish versions).

  2. Click "Create a New Code".


Step 3: Add the TrackBee script

  1. Give the code a name, e.g. TrackBee Link Decoration.

  2. Paste the following script tag into the code box:

<script src="https://cdn.trackbee.ai/link_decoration.js" defer></script>
  1. Under Code placement, select "Append To Page Head".

  2. Make sure "Lazy Load" is turned OFF. The script must load immediately so links are decorated before the visitor clicks anything.

  3. Click Save.


Step 4: Repeat for all funnels

The custom code is applied per funnel. If you have multiple funnels sending traffic to your Shopify store, repeat steps 1 through 3 for each one.


Verify it's working

Once you've added the script, test it to make sure everything is connected properly.

  1. Open your funnel landing page with test parameters, e.g.:

https://yourfunnel.funnelish.com/your-page?utm_source=google&utm_campaign=test&gclid=TEST123
  1. Right-click any link or button that points to your Shopify store and select "Copy link address". The URL should now include the same tracking parameters.

  2. Navigate to a second funnel page (without parameters in the URL). Links on that page should still be decorated with the stored parameters.

If the parameters are showing up on the links, you're all set!


FAQ

Why do I need this script if I already have TrackBee installed on my Shopify store?

TrackBee on your Shopify store can only collect and forward data from that store. If a visitor arrives from a Funnelish page, the tracking parameters get lost in the redirect unless this script passes them along. Without those parameters, TrackBee can't forward the right data to your ad platforms, and the platforms won't be able to attribute the order to the correct ad or campaign.

Does this work with all ad platforms?

Yes. The script forwards all common tracking parameters including UTMs, gclid (Google), fbclid (Meta), ttclid (TikTok), and others.

What if Lazy Load is turned on?

If Lazy Load is enabled, the script may load too late. Visitors could click a link before the parameters are appended, causing the tracking data to be lost. Always keep Lazy Load turned off for this script.


Need help?

If you run into any issues, reach out to us via the chat widget in the bottom right corner. We're happy to help you get set up!

Did this answer your question?