Step 3. Adding Landings


Adding Landing Page


Once you have your landing page ready and uploaded to your hosting service, you can add it to Redtrack. Navigate the Landings tab, click New and fill in the New landing form.



Besides, you can copy the LP Protect code that allows you to prevent unwanted entries to your Landings.


 Scroll up 


Landing Page Code example


It makes no difference which part of the page source code you will add your scripts to. Normally, users prefer to add them to the document body.

Here's an example of a Landing Page that includes tracking scripts. If you wish to inspect this test page further, you may access it here: 





Scroll up



Landing Page click tracking URL


The  (or if you are using custom tracking domain) link is called your click tracking link.


You can use this single URL for all your landing pages. Redtrack will know where to redirect a user by reading a cookie that was set during the initial redirect to a landing page. In the rare case when a user disabled cookies, Redtrack also passes the same information from the campaign URL to lander URL and reads it from the referrer during the click redirect.


  • Make sure your landing page has this script: 

<script type="text/javascript" src="//%your_Redtrack_dedicated_domain%/track.js"></script>


 Scroll up


Multi-offer click tracking URL


If you wish to use a Landing page that contains links to multiple Offers with separate button each, make sure that you add different tracking links for each Offer accordingly. 

User this link structure if you want to link multiple offers simultaneously. Please make sure that number of offers in Stream is equal to a number of Multi-offer click URLs in Landing page.
Offer Link Template:


Scroll up 


Tracking direct traffic to Landing Page

If you want to track direct traffic to your Landing Page please add the following script to it:

<img src="//%your_tracking_link%?format=img" height="1" width="1" />


 Scroll up


LP Views


If you wish to track Landing Page views separately, add the following script to your Landings:

<script type="text/javascript" src="//"></script>

The statistics will appear in your Campaign report. The dedicated column is named "LP Views"




 Scroll up


LP Protect


Upon adding a Landing Page, you have the ability to copy a script that protects Landings from direct entry. Please keep in mind that your Landing should have .php extension. Here's an example of the LP Protect script:


<?php $key="5a742266e1ee4213c33dbd32";if(isset($_GET["lpkey"])){ list($hash, $hashTime)=explode('.',$_GET[ "lpkey"]);$genHash=md5($key.$hashTime.$_SERVER[ "HTTP_USER_AGENT"].$_SERVER["REMOTE_ADDR"]).".".$hashTime;if($genHash!==$_GET["lpkey"] || time()>$hashTime){ exit(0);}}else{exit(0);}?>


Scroll up


Editing Landings from Campaign section


If you wish to make changes to your landings, it can be done directly from Campaign section. Click the pencil edit button next to your Landing and you will be directed to the Edit landing page.



Scroll up


Shopify Landing Pages


If you are using the "Add To Cart" button for your Shopify store, here's how to track the orders with RedTrack:
Make sure that landing pages receiving traffic through have additional parameter
For example:{campaignid}
Then add following JS to this landing page
Parameter that we it will look for in the URL is highlighted pink
Your tracking domain is highlighted green
Your “add to shopping cart” button class is highlighted blue


----Script start
<script type="text/javascript">
function getParameterByName(name, url) {
if (!url)
url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results)
return null;
if (!results[2])
return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
window.addEventListener('DOMContentLoaded', function () {
if (getParameterByName("redtrack", document.location.href) != null) {
var btns = document.querySelectorAll('.amazon-aff');
for (var i = 0; i < btns.length; i++) {
btns[i].href = "";
-------- Script finish -------------



 Scroll up 

Proceed to Step 4

Have more questions? Submit a request


Please sign in to leave a comment.