Home > Questions and Answers > General Questions

Does this landing page automatically detect device types? (11)


03-22-2017 04:02 PM #1 tkyorahat (Member)
Does this landing page automatically detect device types?

Hi guys,

I downloaded a landing page from adplexity and am just trying to get to grips with the code.

I removed the url's and replaced it with something else.

My question is, does this landing page automatically detect the operating system and the device?

Or they they just specifically targeting android users using specific operating systems?


03-22-2017 04:32 PM #2 manu_adefy (Veteran Member)

The detection is usually done by the tracker and then passed as a parameter to the landing page in the URL.

Why do you ask? Is it to know if you need a lander for each OS?


03-22-2017 06:38 PM #3 tkyorahat (Member)

Quote Originally Posted by manu_adefy View Post
The detection is usually done by the tracker and then passed as a parameter to the landing page in the URL.
How can I set this up with Voluum?


03-22-2017 08:44 PM #4 manu_adefy (Veteran Member)

You can find Voluum's exact answer here:

http://feedback.Voluum.com/knowledge...eter-on-lander

In short, you add the tokens to your landing page like mydomain.com/landingpage.html?model={model}&brand={brand} and then you use the script they describe there


03-23-2017 12:12 PM #5 tkyorahat (Member)

Awesome, thanks!


03-28-2017 02:12 PM #6 tkyorahat (Member)

How do you test if these tokens are working?


03-28-2017 03:13 PM #7 manu_adefy (Veteran Member)

You have to include them in the URL, for example:

yourdomain.com/page.html?brand=TestBrand&model=TestModel will show in your landing page copy as TestBrand and TestModel.

Basically, you replace the { } tokens with real text In some cases, it will show you the tokens as well if you don't replace them - depends how you implemented the callout in JS.


03-28-2017 05:07 PM #8 manu_adefy (Veteran Member)

How does your landing page URL look in Voluum?


03-28-2017 06:01 PM #9 manu_adefy (Veteran Member)

You have a typo. It should be: document.write(getURLParameter("device"))

What text editor are you using for landers? Make sure you get one that tells you as much as possible about such mistakes. Sublime Text is a personal favourite because it's simple yet can be powerful but there are plenty available.

Should work if you fix Worked for me at least.


03-28-2017 07:11 PM #10 tkyorahat (Member)

THANK YOU SO MUCH!

I've been trying to figure this out for the last 5-6 hours.

I use commodo.


03-30-2017 07:04 AM #11 manu_adefy (Veteran Member)

I have never heard of Commodo - what made you choose it?

These typos are the things that keep coders awake at night, haha. OK, maybe exaggerating a bit but it's certainly common and it's good to think of ways to check for, and avoid these mistakes that are not related to the code logic.

Good luck with the campaigns!


Home > Questions and Answers > General Questions