Home > General > Affiliate Marketing Forum

Scripts for landing page Issue (10)


04-24-2018 01:56 AM #1 speedy (Member)
Scripts for landing page Issue

Most of landers need fixing as i followed vortex and mia threads they are very informative however many java scripts didn't work properly such as model and brand delivery


Code:
Your <script>document.write(getURLParameter("brand") + (" ") + getURLParameter("model"))</script> is outdated!


any suggestions regarding this issue would be appreciated the lp is attached.


04-24-2018 02:01 AM #2 thedudeabides (Moderator)

Have you added those parameters to your landing page URL, so that Voluum can fill them in?



04-24-2018 10:23 AM #3 pierren (Member)

Yes, you need to add /?brand={brand}&model={model} to our URL in Voluum

You can test with /?brand={Apple}&model={Iphone} for example


04-24-2018 12:34 PM #4 speedy (Member)

Im using bemob they have different tokens i tried this one but didnt work
/?brand={deviceVendor}&model={deviceModel}
here's tokens list

Click image for larger version. 

Name:	JueRRfD.png 
Views:	17 
Size:	29.0 KB 
ID:	18635


04-24-2018 02:24 PM #5 pierren (Member)

I don't know bemob but you need to use /?deviceVendor={deviceVendor}&deviceModel={deviceMo del} I think


04-24-2018 03:56 PM #6 pierren (Member)

I have test with a bemob account and it work like Voluum with different tokens, you just need to modify your script too : <script>document.write(getURLParameter("DeviceVendor") + (" ") + getURLParameter("DeviceModel"))</script>


04-24-2018 04:23 PM #7 vortex (Senior Moderator)

Caurmen's explanation here should help:

https://stmforum.com/forum/showthrea...ing-Parameters


In the case of bemob: Based on the screenshot of tokens provided by speedy, /?brand={deviceVendor}&model={deviceModel} should be correct!

Also: You don't need to change anything in the landing page code - as long as you're still using the parameter names "brand" and "model".

You're probably not testing it properly. Browsing directly to http://www.lander-domain.com/?brand={deviceVendor}&model={deviceModel} will NOT allow the lander to properly detect the brand and model, because your lander itself does not have that capability. Voluum on the other hand DOES, and I'm assuming that Bemob does also.

Try to create a campaign on Bemob, and then browse to the campaign url from your phone, and the brand and model should fill in (to reflect the brand and model of your actual phone).

Or, if you're just wanting to test whether the lander itself is working (without testing the token detection capability of your tracker), you can manually substitute the values as pierren suggested:

You can test with /?brand={Apple}&model={Iphone} for example
Please feel free to ask further questions if needed.



Amy


04-24-2018 04:50 PM #8 pierren (Member)

Yes sorry for my mistake, it's Vortex's answer that's right.

Like this demo URL http://bemob-samples.s3-website-us-e...={deviceModel}

or for test : http://bemob-samples.s3-website-us-e...html?p1=Iphone


04-24-2018 06:09 PM #9 speedy (Member)

yess it works! what vortex said is correct we should use camp url and volum/bemob will populate the device model..


04-24-2018 06:20 PM #10 vortex (Senior Moderator)

Quote Originally Posted by pierren View Post
Yes sorry for my mistake, it's Vortex's answer that's right.

Like this demo URL http://bemob-samples.s3-website-us-e...={deviceModel}

or for test : http://bemob-samples.s3-website-us-e...html?p1=Iphone
I make mistakes as well - we all do!

But like you, I provide more value to offset the occasional mistake. Thanks for all your contributions to the community pierren! I was very impressed that you would spend the time to do testing on bemob just to help out another member. Much appreciated!


yess it works! what vortex said is correct we should use camp url and volum/bemob will populate the device model..
Cool glad to hear! You're all set then!




Amy


Home > General > Affiliate Marketing Forum