Connecting ClickFunnels brings your orders and invoices into Wexlyn. This page is the other half: the Wexlyn script on the pages of a ClickFunnels 2.0 funnel, so the people who opt in and buy there are tied to the ad that brought them.
Still on the older ClickFunnels? Follow ClickFunnels Classic tracking setup instead: the menus are different.
Before you start
In Wexlyn open Tracking → Universal Script and copy the code.
1. The whole funnel
- In ClickFunnels, click Funnels in the menu on the left.
- On the row of the funnel you want to track, press the gear at the end of the row to edit the funnel.
- Scroll down to Head Code and paste the Wexlyn script there. If other code is already in the field, put the Wexlyn script at the very top and leave an empty line or two between them.
- Scroll to the bottom and press Update Funnel.
The script now runs on every page of that funnel. Do the same for each funnel you want to track.
2. One page with its own tag
This part is optional. Use it when you want to tell pages apart, the two sides of a split test for example.
The script's address ends with an application tag, tag=!captured by default. Everyone the script sees on a page gets that tag on their journey, and reports can be filtered by it. Give a page its own tag, !funnel-a on one side of a split test and !funnel-b on the other, and you can see who landed on which.
- Open the funnel. On the step you want, press the three dots and choose Edit page.
- In the page editor, press the code button (
</>) on a section's toolbar. A panel opens at the bottom with CSS, Header Code and Footer Code. - Choose Header Code and paste the Wexlyn script, with the end of its address changed to the tag for this page:
tag=!funnel-a
- Press Save at the top right.
One copy per page. A page runs the first copy of the script it loads and ignores any other. So a page that carries its own script should not also get the funnel-wide one. When you tag pages one by one, put the script on each page and leave the funnel's Head Code without it.
Check it works
- Open a page of the funnel in a private window with
?utm_source=teston the address and opt in with a test email. - In Wexlyn, open that person under CRM → Leads and switch Live on at the top of the Journey. The visit and the opt-in appear within a few seconds, with the tag of the page they landed on.
- The Check script button under Tracking → Universal Script confirms the script on any address you enter.
More on the script and its tag is in Install the Wexlyn script.