How to display a parameter on your lander

Below is a sample landing page with a script that injects "device model" parameter into the lander. If you open it in the browser and add "?device_model=123" at the end, it will insert 123 into the site.





function getURLParameter(name) {

   return decodeURI(

       (RegExp(name + '=' + '(.+?)(&|$)').exec(||[,null])[1] || ''






Hello <script>document.write(getURLParameter("device_model"))</script> user, you just won!



You basically have to:

  1. Add tokens in Track Revenue to your landing page, e.g. [[device_model]] or [[device_os]] or [[isp]]. All token options are listed here.
  2. Add the <script> in the head section from the attachment.
  3. Then everywhere you want to inject a value, use the <script> from the body section in the sample, just replace "model" with whatever you want.


Please sign in to leave a comment.
Powered by Zendesk