Home > Technical & Creative Skills > Programming, Servers & Scripts

HOW TO combine multiple landers on single url (8)


11-27-2019 04:53 AM #1 mindfume (AMC Alumnus)
HOW TO combine multiple landers on single url

What’s the best way to combine a prelander and main lander on a single url so it shows as a single lander in the tracker?
I don’t want any code of the main lander to get loaded until the clickthrough on the prelander happened.

I asked a dev and he started fiddling around with javascript which does not feel like the most optimal solution to me.

If someone could provide a high level direction I can tell the dev to use e.g. “do it using this method”,
that would be appreciated.


11-27-2019 10:17 AM #2 twinaxe (Senior Moderator)

You add the pre lander in the tracker as landing page.

Then you link from the prelander directly to the main lander.

On the main lander then you use your trackers click URL to redirect to the offer.

That way the tracker counts only the incoming to the pre lander and the outgoing traffic from the main lander.
The click from pre lander to main lander won´t be recognized by the tracker.

That way it´s not exactly the same URL but it shows up as a only one landing page in the tracker.

I hope that helps anyway.


11-27-2019 11:23 AM #3 mindfume (AMC Alumnus)

Ok thanks for the suggestion but I should have provided more info:

We’re using Binom integrated php landers, so we need a solution contained within a single php file,

and in there we track:
- on the prelander we use Binom custom event to track the clickthrough to main lander
- on the main lander we track multiple custom events + regular click to offer


11-27-2019 01:02 PM #4 twinaxe (Senior Moderator)

Ok, I see.

Then maybe you could use some coding that I did for something completely different some time ago.

When user arrives at the lander do a check if cookie "alreadyvisited" exists.
When it doesn´t exist set the cookie and load the code for the pre lander.

On the CTA of the pre lander just set a link to the same lander URL.
When user clicks the CTA he gets to the same URL without going through the tracking link again and it will be checked for the cookie again.

Then the cookie exists and the code for the main lander with Binom click URL on CTA will be loaded.

That way only specific parts of the code are loaded depending if the cookie is set or not.

Maybe this is not the most elegant solution but I guess it should work.
It also shouldn´t mess up the tracker stats.

Let me know if this works for you.


11-27-2019 04:12 PM #5 mindfume (AMC Alumnus)

I think that would work very well for standalone landers,
but we're using integrated Binom landers so in this case the "lander URL" is effectively the same as the campaign link URL

and when we revisit the lander a 2nd time it will count as a fresh visit on the campaign link URL, which we'd like to avoid (we could track such 2nd visits with a token but it then quickly becomes messy and overcomplicated given what we're trying to do)


11-27-2019 04:24 PM #6 twinaxe (Senior Moderator)

Alright, got it.

Yes, in that case it won´t work.
Let me think about it and maybe I have an idea then.


11-28-2019 09:36 AM #7 matuloo (Legendary Moderator)

Did you talk to Binom support already? They are very helpful and known their platform better than any of us, so they might be able to give you some tips.


11-28-2019 12:47 PM #8 mindfume (AMC Alumnus)

Yes I had spoken to support but they could not help, given from their (tracker) perspective it does not matter much which solution we use - is what they came back with.

Meanwhile one of our other devs found a way using jquery load("next-page.php") which seems clean and working OK.


Home > Technical & Creative Skills > Programming, Servers & Scripts