Quick start

Adding your landing page

What is a landing page?

A landing page in terms of RedTrack is the page prior to your main offer page with the target product promoted. It needs to be editable (e.g.: if your affiliate network provided you a landing page and offer but you cannot edit the page code, then this is not a landing page in terms of RedTrack settings).

Examples of the funnels and how the elements are to be added to  RedTrack:

 

1. The landing page provided by the affiliate network/advertiser/your own (you have access to the page code) -> Offer URL (the product page either provided by the affiliate network or your own product) -> “Thank you” page

An LP is added to RedTrack, the page core is adjusted according to the guidelines.
Offer is added to RedTrack according to the guidelines.

 

2. The landing page provided by the affiliate network/advertiser/your own (you have no access to the page code) -> Offer URL (the product page either provided by the affiliate network or your own product) -> “Thank you” page

The LP URL will act as the offer in that case so you add only the offer according to the guidelines.

Adding a landing page to your account

Settings on RedTrack side

Go to Landers -> New -> add the title, the page URL, the landing page type-> save the  changes

 

Settings on the landing page side – redirect  tracking

For RedTrack to identify your landing page and perform the redirect to the offer correctly (with tracking and sending all the necessary data further), you need to add several things to your page code:

  • LP Click URL – is essential for the correct redirects
  • LP Views tracking  script – is essential  for tracking LP views

LP Click URL template and LP Views tracking script can be found in your lander settings

By default, it contains your dedicated tracking domain but you need to change it if you are using a custom tracking domain for your ad campaigns.

LP Click URL is supposed to be added to the CTA (call to action) button instead of the offer URL. Don’t worry, RedTrack will know where to redirect the visitor even if there is no direct offer URL used on the page!
LP views tracking script can be added anywhere – head, body or footer.

Here is the example of the page with a CTA button


Here is how the page code setting may look like with the simple setup: you see the LP Views tracking script and LP Click URL

Settings on the landing page side – no redirect  tracking

For RedTrack to identify your landing page and perform the redirect to the offer correctly (with tracking and sending all the necessary data further), you need to add several things to your page code:

  • LP Click URL – is essential for the correct redirects
  • Direct traffic script – essential for the redirect to happen, tracking LP views and all additional tracking parameters.

1. LP Click URL template can be found in your lander settings. By default, it contains your dedicated tracking domain but you need to change it if you are using a custom tracking domain for your ad campaigns.
LP Click URL is supposed to be added to the CTA (call to action) button instead of the offer URL. Don’t worry, RedTrack will know where to redirect the visitor even if there is no direct offer URL used on the page.

Here is the example of the page with a CTA button

2. Now you also need to add the direct traffic script to your page code (the one that was activated in your traffic source settings and generated on a campaign level. More information is here). It can be added anywhere on the page: header, body or footer.

Landing page dynamic values usage

If you need to use additional dynamic parameters on your LP (e.g: to improve your page and make it more personal for a visitor by showing the visitors city or OS), this can also be implemented with RedTrack.

1. First, add the desired dynamic parameter to  your page URL

2. Now you are ready to parse and use it where needed.
Put this script to your page code where you want this value to change:

<script type=”text/javascript”>
var parameterName;
function getParameterData(name) {
var query = window.location.search.substring(1);
var vars = query.split(“&”);
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split(“=”);
if(pair[0] === name){
return decodeURI(pair[1]);}
}
return “”;
}

parameterName = getURLParameter(‘city’)
</script>

NOTE: The ‘city’ parameter was used as an example. You can use any from the available RedTrack parameters (or even from those you will receive from your source of traffic via subs).

Here is the example of the landing page and pending page code with this script used:

This is just a sample script (it’s ready to use) but if you need to use your own script, you can write it on your own –  our dynamic values will work well with any script.

Related Articles