Knowledge Base         

How can I set up an intermediate page to fire a pixel?

You would typically want to set up an intermediate page or “interstitial” page when you can’t insert a tracking pixel or piece of tracking code in the target page because you can’t edit the page or have no control over it.

It’s easy to set up an intermediate page or “interstitial” page to fire a tracking pixel or execute a piece of tracking code, but you’ll probably want to use ClickMagick’s advanced Pixels setting to do this instead. Using the Pixels setting of a tracking link eliminates the need for an intermediate page, it’s easier to set up than using an intermediate page, and you don’t need to know anything about HTML.

That said, we’ll show both solutions here so you can choose whichever better fits your needs …

The Intermediate (Interstitial) Page

If you want to fire a pixel or execute a piece of tracking code in an intermediate page, just use this piece of HTML and install it on your server:

<!DOCTYPE html>
      <meta http-equiv="refresh" content="2; url=destination_url">
      Please wait...

      (Insert ClickMagick pixels, tracking code,
       facebook pixels, retargeting pixels, etc.)


This page will fire your pixels or tracking code, wait two seconds (as specified in the content section of the “meta refresh” tag), and display the sentence “Please wait...” while waiting those two seconds.
Caution: If you’re working with an affiliate network and need to pass a click ID through the [s1] token in your destination URL, you cannot use this “meta refresh” method because modifying tokens in the <head> section of a page is unreliable across browsers. In this case, you must use the Pixels setting of trackings links, explained below.

Using the Pixels Setting of Tracking Links

Instead of creating an intermediate page yourself, when you use the Pixels setting of a tracking link, the tracking link itself will automatically build the page for you, fire all your pixels and execute all your tracking code, then redirect to the Primary URL (or split test URL) of the tracking link.

It’s really cool!

You don’t have to do anything except paste your pixels or tracking code into the Pixels area of the tracking link and from that point on everything happens automagickally.

By using the Pixels functionality of tracking links, you get all the benefits of using an intermediate page without any of the drawbacks. It’s also really easy to set up. Just follow the steps in this article:
What is the Pixels setting of a tracking link used for?

Article 208 Last updated: 05/14/2020 11:58:46 AM