Passing Sub-ID values throughout your funnel pages can get complicated if you have an opt-in form, depending upon the autoresponder that you’re using.
The idea is simple: add a hidden “bridge” page as your autoresponder’s Thank You page, and have that page immediately and automatically redirect to the affiliate network, without your website visitors even knowing it:
For example: First page of the funnel is on domain.com… and the last page of the funnel is on domain.com.
Create A Blank Page In ClickFunnels
Create A Blank Page In LeadPages
Create A Blank Page In OptimizePress
Create A Blank Page In Kartra
To set this up if you’re using tracking links, first create a new entirely blank page in your Page Builder. Then, insert the code below anywhere in the <head> or <body> section of the page:
var cmtools_url = 'https://mynetwork.com?tid=[cm_s1]'; // Change to your affiliate link
Remember to change the URL in the cmtools_url line of the code to be your affiliate link and set your autoresponder’s Thank You page URL to this bridge page.
To set this up when using Campaigns, insert the code below anywhere in the <head> or <body> section of an entirely blank page:
Remember to change the URL https://destinationpage.com?tid= to be your affiliate link.
Now, when a visitor enters his or her email address, the autoresponder will send that visitor to the hidden page where the Sub-ID values will be restored, and then control will be sent to the affiliate link. This will happen so fast that your visitor won’t even notice that it’s happened.
Caution: Trying to use the [cm_s1] through [cm_s5] tokens in a “meta refresh” tag will not work.
// This meta refresh will not work... <meta http-equiv="refresh" content="3; url=https://mylink.com?s1=[cm_s1]">
Dynamically changing an HTML tag in the <head> section of a page is totally undefined behavior. Even if you try it in your favorite browser today and it looks like it works, it doesn’t work in all browsers, and your favorite browser could stop “working” in the next release. Instead, use what we show you to do in this article.
Article 738 Last updated: 08/10/2021 11:18:20 AM https://www.clickmagick.com/kb/?article=738