Home > The Newbie Zone > Questions and Answers

Remove device information from LP (6)


08-22-2017 06:57 AM #1 eurosen (AMC Alumnus)
Remove device information from LP

I have been trying to rip a few antivirus landing pages from Adplexity but every time I upload them they contain the device information.

So.. The landing page would say your Iphone has a Virus or your Samsung S4 has a virus.

If I remove the name of the phone but keep the device parameter the page stops working.

Here is an example:

<script>document.write(getURLParameter("brand") + (" ") + getURLParameter("model"))</script>Samsung Galaxy S4

Thanks


08-22-2017 10:27 AM #2 caurmen (Administrator)

When you say "stops working", what do you mean?

Broken HTML, blank page, or something else?

That'll really help to know what's going on here.

Also, can you share a bit more of the code surrounding the problem area? And have you tried removing the script altogether?


08-22-2017 11:39 AM #3 eurosen (AMC Alumnus)

Thanks for your quick reply,

The issue seems to be that the landing page is in Bulgarian and whenever I open it with Coffecup editor all of the written content converts into ???? ????

Here is a link to the code: https://pastebin.com/N150kPM6

So basically I am facing two issues:

1. When I try to edit the page in Coffeecup editor all of the Bulgarian content turns into ??? ???

2. I would like to edit the code so that it works for every device, so for an Iphone visitor it would mention Iphone, for a Samsung visitor it would mention Samsung etc..

Hope this sort of makes it a bit clear.


08-22-2017 03:36 PM #4 optifyme (Member)

Quote Originally Posted by eurosen View Post
Thanks for your quick reply,

The issue seems to be that the landing page is in Bulgarian and whenever I open it with Coffecup editor all of the written content converts into ???? ????

Here is a link to the code: https://pastebin.com/N150kPM6

So basically I am facing two issues:

1. When I try to edit the page in Coffeecup editor all of the Bulgarian content turns into ??? ???

2. I would like to edit the code so that it works for every device, so for an Iphone visitor it would mention Iphone, for a Samsung visitor it would mention Samsung etc..

Hope this sort of makes it a bit clear.

Hello Eurosen,

1: try using a different editor? I have been through the same problems when trying to edit foreign language landers.. you can get a 30 day trial of adobe Dreamweaver.
2: As for this question, chek out this link if you are using Voluum. You will need to add the token "model" to your landing page URL.. http://feedback.Voluum.com/knowledge...eter-on-lander

Hope this helps!


08-22-2017 04:47 PM #5 vortex (Senior Moderator)

1. When I try to edit the page in Coffeecup editor all of the Bulgarian content turns into ??? ???
See this thread for your answer:

http://www.coffeecup.com/forums/html...ort-the-utf-8/

Basically just change the encoding. As to what type of encoding to change it to, here's your answer:

http://scratchpad.wikia.com/wiki/Cha..._for_Languages

For Bulgarian, CP1251 is the recommended encoding.


2. I would like to edit the code so that it works for every device, so for an Iphone visitor it would mention Iphone, for a Samsung visitor it would mention Samsung etc..
Try this:

1)Delete the "Samsung Galaxy S4" from your lander. So instead of:

<script>document.write(getURLParameter("brand") + (" ") + getURLParameter("model"))</script>Samsung Galaxy S4

Just have this:

<script>document.write(getURLParameter("brand") + (" ") + getURLParameter("model"))</script>

2)The lander should display any parameters you add to it. Let's say your lander url is http://www.domain.com/lp1/index.html. Put this in your browser:

http://www.domain.com/lp1/index.html...e&model=iPhone

And you should see that the part of the lander where the "Samsung Galaxy S4" used to be, will now read "Apple iPhone".

If you DO see this, it means the lander is working properly. Proceed to the next step. (If you DON'T see Apple iPhone appear on your lander, let me know and I'll take another look at the code.)

3)Add your lander to Voluum, and append the "brand" and "model" tokens as above, but replace the "Apple" and "iPhone" with Voluum tokens, like so:



Now, create a new campaign in Voluum, specify this lander, specify any offer, and save the campaign. Grab the campaign url and browse to it from your mobile device. Voluum should detect your device's brand and model and pass it to your lander to be displayed.



Let me know if this works! If it doesn't, let me know what the problem is and we'll do some troubleshooting.



Amy


08-22-2017 05:06 PM #6 eurosen (AMC Alumnus)

Thanks everyone, I have figured it out!

Took me a bit of time, but it has been a great way to learn more about Voluum, Landers and Parameters.

Just about to launch the campaign on Zeropark, fingers crossed that it gets approved.

Will keep you updated on the results

Thanks again!


Home > The Newbie Zone > Questions and Answers