I've been trying to get this to work all day but no success. I've followed the official guide but still nothing. I must be doing something wrong. Can someone please tell me step by step what I need to do? I want to call out the {model} name on the landing page.
Edit: Found out the issue was caused by Cloudfront CDN.
We need to know what you've tried in order to help.
How about you post a screenshot of the lander setup in
So for the lander settings in
As for the code I used in the LP:
<script>
function getURLParameter(name) {
return decodeURI(
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] || ''
);
}
</script>
</head>
<script>document.write(getURLParameter('model'))</script>
Strange. Might seem silly, but double-check you are loading the page in your browser with the variable attached: http://www.example.com/lander.html?model=Test as opposed to just http://www.example.com/lander.html
Open the Chrome developer console open (F12 and click Console) and reload the page, do any errors show?
When I manually add ?model=test to the url after visiting the lander, it works. But when I use the
No I don't see any errors.
Could I see an actual screenshot of the lander settings in
try to enter that landing page url like http://website.com?model=Apple or something like that on your browser and see if its grabbing model parameter and printing to html. if it is okay, when you create a new campaign and set your lander as a path of that campaign,


Make a new lander and try to do the same thing + add multiple other parameters.
Process of elimination. Is it specifically the model parameter? Is it because you have no index.html or equivalent section and something funky is going on at the end server? Is it because your initial redirect/result got cached by some entity in the process and its serving you the old result over and over? And so on.
Duplicate the campaign. Direct link to a URL with the model parameter.
Experiment.
If you're testing on desktop, it probably won't work.
Are you testing on a mobile device? (or something that spoofs a mobile device)