Knowledge Base      

How can I set up a redirect page to record a conversion?

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

It’s easy to set up a redirect 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 a redirect page, it’s easier to set up than using a redirect page, and you don’t need to know anything about HTML.

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

Let’s start with the redirect page, followed by the solution that uses the Pixels setting of a tracking link (even if you’re using Campaigns)…

The Intermediate (Interstitial) Redirect Page

The idea behind using a hidden redirect page is that it should never displayed by your browser, but because it’s a real page, you can install tracking pixels and tracking code that will get processed.

Historically, using a hidden page was the only solution for recording a conversion if the next page you were redirecting to wouldn’t allow you to install tracking pixels or tracking code. With ClickMagick, using the Pixels tab of a tracking link is a much better solution, but in some rare cases you still might need to use a hidden page.

To create a hidden page, you’ll need take this raw HTML code and add it as a page on your website:

<!DOCTYPE html>
      <meta http-equiv="refresh" content="1; url=">
      (Insert ClickMagick pixels, tracking code,
       facebook pixels, retargeting pixels,
       audience code, etc.)


Be sure to update the URL in the content section of the HTML with the URL of the page you actually want to redirect to after the pixels and tracking code are processed.

This page will fire your pixels or tracking code and wait one second for the pixels or tracking code to process. If you find that one second isn’t enough time to consistently record your conversions, change the 1; in the content section to 2; so that the page will be displayed for 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

The Pixels tab of a tracking link was specifically designed to allow you to fire pixels or execute tracking code as the link is redirecting to a page that you can’t add pixels or tracking code to.

Simply create a new tracking link that redirects to the page you can’t edit, then click on the Pixels tab and enter either a tracking link pixel into the edit box.

For a Campaigns pixel, simply paste it in edit box and you’re done. For a tracking link pixel, you need to click on the button that says “Add ClickMagick Tracking Pixel” to create a special pixel for this method work correctly.

You can also add retargeting code, or any other type of tracking code to the Pixels tab.
Now, whenever you use the tracking link, your tracking link will fire the pixel and record your conversion as the link is redirecting to the next page.

It’s really cool!

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.

If you need additional help using the Pixels feature of tracking links, you should find this article helpful:
What is the Pixels setting of a tracking link used for?

Article 208 Last updated: 05/19/2022 11:05:42 AM