Help! Passing URL tokens through multiple pages

4 replies
  • PPC/SEM
  • |
Hey Guys!
Got an issue going on, hope you can help me.
I'm trying to pass bing's URL tokens trough 2 pages on my website, to the affiliate link, and finally see it on my affiliate networks reports.
when the user clicks on my ad on bing, he gets to
"mydomain.com/home.html?s1={MatchType}&s2={CampaignId}&s3={Query String}&s4={Adid}"
than he clicks on "more info" and gets to
"mydomain.com/product1.html?s1={MatchType}&s2={CampaignId}&s3={Q ueryString}&s4={Adid}"
and on that page he clicks on the affiliate link and gets to
"offer.com?s1={MatchType}&s2={CampaignId}&s3={Quer yString}&s4={Adid}".
Am I passing the tokens right? cause on my reports on the affiliate network I just see empty tokens, just {MatchType}{CampaignId}{QueryString}{Adid}.
SUCKS right? any suggestions?
Thanks!
#multiple #pages #passing #tokens #url
  • Profile picture of the author iggy1k
    You can pass tokens by using php commands:
    mydomain.com/product1.html?s1=<?php echo $_GET['s1'];?>&s2=<?php echo $_GET['s2'];?>&s3=<?php echo $_GET['s3'];?>&s4=<?php echo $_GET['s4'];?>

    and the same for offer.com?s1=<?php echo $_GET['s1'];?>&s2=<?php echo $_GET['s2'];?>&s3=<?php echo $_GET['s3'];?>&s4=<?php echo $_GET['s4'];?>
    {{ DiscussionBoard.errors[10261761].message }}
    • Profile picture of the author kerberosss
      Originally Posted by iggy1k View Post

      You can pass tokens by using php commands:
      mydomain.com/product1.html?s1=<?php echo $_GET['s1'];?>&s2=<?php echo $_GET['s2'];?>&s3=<?php echo $_GET['s3'];?>&s4=<?php echo $_GET['s4'];?>

      and the same for offer.com?s1=<?php echo $_GET['s1'];?>&s2=<?php echo $_GET['s2'];?>&s3=<?php echo $_GET['s3'];?>&s4=<?php echo $_GET['s4'];?>
      Thanks! ill give it a try..
      {{ DiscussionBoard.errors[10263780].message }}
  • Profile picture of the author streamerguy
    With this you will need to code a .php file and pass the token.
    {{ DiscussionBoard.errors[10262341].message }}
    • Profile picture of the author kerberosss
      Originally Posted by streamerguy View Post

      With this you will need to code a .php file and pass the token.
      Hey, can you explain more what do you mean? do I need to change the file containing the links from .html to php? or is it something else?
      Thanks,
      {{ DiscussionBoard.errors[10263782].message }}

Trending Topics