Hey guys!
What's the quickest way to test your token personalization scripts?
My CTR of ripped landers was really low and I noticed my url tokens didn't work properly, that left blanks in my text and sentences were weird without the name of the device appearing on my landers.
How do you test that quickly?
Just check if the parameters from the scripts on the lander appear in your URL too.
If they don't change them accordingly.
Right now I need to upload the landers on my CDN set it up in
I thought there might be a quicker way.
Let's say that the lander is pretty basic with as in the below example.
<html>
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
<title>Token Test</title>
<script>
function getURLParameter(name) {
return decodeURI(
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] || ''
);
}
</script>
</head>
<body>
<h3>
Hello <script>document.write(getURLParameter('model'))</script> user, you just won!<br><br>
Hello <script>document.write(getURLParameter('brand'))</script> user, you just won!<br><br>
Hello <script>document.write(getURLParameter('os'))</script> user, you just won!<br><br>
Hello <script>document.write(getURLParameter('isp'))</script> user, you just won!<br><br>
</h3>
</body>
</html>

Thanks a lot platinum!
I thought
Thanks for the screen captures as well, I encountered problems because I didn't add the "&" between tokens on
You're welcomed 
Everything is in the forum and in a very short time you'll realize how well structured the information is.
I like to add default parameters as well, to be thorough. You can do this by setting variables under your `getURLParameter()` function declaration like so: