Skip to main content
Set up landing and prelanding pages
Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated over 6 months ago

A landing page is a page where a user can get to after clicking an ad. Landing pages can be in different languages, with different creatives, etc. If you have different types of audience, landing pages can help you distribute them to different pages of your offer.

A pre-landing page is used to interest potential customers and provoke them to visit a landing page.

Before you begin

Set up a landing page

1. Get tracking URL(s) for the landing pages from your advertiser.

🔎 These URLs are similar to the main advertiser tracking URL you set up in the offer.​

2. In Offers > a certain offer > Landing pages, insert this URL into the Tracking URL field. Update the tracking URL with macros, if necessary.

⚠️ Passing the click ID value is mandatory.

Screen Recording 2022-08-17 at 04.52.13.21 PM

  1. Add a title.

  2. Add a Preview URL.

  3. Select the type - Landing.

The system fills the ID automatically. It appears later in the Affise tracking URL used by an affiliate in the Affiliate panel.

The example of Affise tracking URL for a landing page that contains &l=<landing_id>:

https://rocketcompany.g2afse.com/click?pid=5120&offer_id=131812&l=1577639607

🔎 If an advertiser gave you several tracking URLs, and you don't know which one is the main, check them. Usually, the main URL is a link that leads to the main page of a website, for example. Use other links that lead to the pages with different languages or products as landing pages.

You can also add and edit targeting for a certain landing page. To set it, do the following:

  1. After adding a landing page, click the Add/Edit Targeting.

  2. In the appeared window, set the landing page targeting the same way you set targeting groups.

🔎 You can share specific landing pages with specific affiliates. Use the Affiliates drop-down list for that.

If at least one affiliate is enabled on the LP targeting:

  • The system redirects the traffic from the affiliates that are not enabled on the LP to trafficback.

  • The system hides the landing pages of affiliates not included in the LP from the affiliate dashboard on the offer page.

💰 The Landing pages targeting feature is available only for certain plans. Contact your Affise account manager to get the feature.

Landing pages and statistics

You can find the statistics on landing pages in Statistics > Landing.

Statistics _ Rocket Company Network (Demo) - Google Chrome 2022-12-30 at 1.09.44 PM

Landing pages and additional URLs and deeplinks

Check the difference between landing pages, additional URLs, and deeplinks here.

Set up a prelanding page

  1. Get URL(s) for the prelanding pages from your advertiser.

  2. In Offers > a certain offer > Landing pages, insert this URL into the Tracking URL field. There's no need to add parameters and macros.

    Screen Recording 2022-08-17 at 07.02.54.14 PM

  3. Add a title.

  4. Add a Preview URL.

  5. Select the type - Preanding.

  6. The system fills the ID automatically. It appears later in the Affise tracking URL used by an affiliate in the Affiliate panel.

The example of Affise tracking URL for a prelanding page that contains &l=<prelanding_id> and &to=<encoded_prelanding_link>:

https://rocketcompany.g2afse.com/click?pid=2&offer_id=1&l=1234235&to=aHR0cHM6Ly9kZW1vLmcyYWZzZS5jb20vY2xpY2s%2FcGlkPTImb2ZmZXJfaWQ9MTMxNzIyJmw9MTU3ODg1ODczNA%3D%3D

Set up a redirect

To redirect visitors from a prelanding page to landing page, add the following JavaScript code at the end of HTML code of the relevant prelanding page before the closing </body> tag:

The code should contain your tracking domain:

<script src="//rocketcompany.g2afse.com/preland.js"></script>

🔎 This code changes all links in the code page attached to the a href= attribute to the Affise tracking URL for a landing page, used by an affiliate for a certain offer. If no landing page is used, the system uses the main tracking URL without the &l= parameter instead. It is important to check the presence of the a href= attribute for the code to work.

Prelanding and landing pages work both with the default tracking domain and custom tracking domain.

If you want your prelanding and landing pages to open in the same browser window, take the following steps:

a. Follow the link updated with your tracking domain:

https://your_tracking_domain/preland.js

b. Take the appeared code.

⚠️ Take all strings except this one:

d[i].setAttribute('target','_blank');

c. Put this code to the landing page code to the <script></script> section before the </body> tag closing.

Script example:

<script> 
var d = document.getElementsByTagName('a'), i = d.length;
var to = getParameterByName('to');
if(to !== "") {
afurl = base64_decode(to);
}else{
if(getParameterByName('afclick')){
afurl = afurl + '?afclick=' + getParameterByName('afclick');
}
}
while(i--){
d[i].setAttribute('href', afurl);
}
function base64_decode( data ) {
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var o1, o2, o3, h1, h2, h3, h4, bits, i=0, enc='';
do {
h1 = b64.indexOf(data.charAt(i++));
h2 = b64.indexOf(data.charAt(i++));
h3 = b64.indexOf(data.charAt(i++));
h4 = b64.indexOf(data.charAt(i++));
bits = h1<<18 | h2<<12 | h3<<6 | h4;
o1 = bits>>16 & 0xff;
o2 = bits>>8 & 0xff;
o3 = bits & 0xff;
if (h3 == 64) enc += String.fromCharCode(o1);
else if (h4 == 64) enc += String.fromCharCode(o1, o2);
else enc += String.fromCharCode(o1, o2, o3);
} while (i < data.length);
return enc; }
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
</script>

Prelanding pages and statistics

You can find the statistics on prelanding pages converting in Statistics > Custom > Prelanding.

Traffic flow

Depending on the use of prelandings and landings, the traffic goes the following way:

🔎 Pre-landing and landing pages are not necessarily used together. You can use only a landing or only a prelanding.

Both landing and prelanding pages can be set up via API:

POST /3.0/admin/offer
https://api.affise.com/docs3.1/#add-offer
POST /3.0/admin/offer/{ID}
https://api.affise.com/docs3.1/#edit-offer

Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?