Knowledge Base      


How do I create a blank page in ClickFunnels?


Passing the Visitor ID value throughout your funnel pages can get complicated if you have an opt-in form, depending upon the autoresponder that you’re using.

To make passing Visitor IDs easy, ClickMagick’s has a small piece of JavaScript code that you can use to pass the values for you.

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:
 


 

To make this work, all you have to do is add our JavaScript code on the first and last pages of your funnel—the last page, in this example, being the bridge page that we will create.

 
Note: When using the JavaScript codes below, ensure that both the first page and last pages of your funnel are on the same domain.

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 when using Campaigns, insert the code below anywhere in the <head> or <body> section of an entirely blank page:

<script>
   window.clickmagick_cmc = {
      uid: '[USERID]',
      hid: '[HID]',
      cmc_goal: 'a',
      vid: '',
   }
</script>
<script src='//cdn.clkmc.com/cmc.js'></script>
<script>
   setTimeout(function() {
      window.location.replace("https://destinationpage.com?tid=" + clickmagick_cmc.vid);
   }, 1000);
</script>       


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 Visitor ID value 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.

 
Tip: If you want to include a tracking pixel on the page as well, use a JavaScript tracking pixel, and insert it before the line that includes window.location.replace.
 
Caution: Trying to use the [cmc_vid] token 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=[cmc_vid]">

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: 05/08/2022 2:19:41 PM
https://www.clickmagick.com/kb/?article=738