Need help passing tid paramter within cloaking code

3 replies
I'm fairly new to coding, so I could use a little help with this.

I will be creating a number of ads for a campaign in which I will be using an ID for ClickBank (their TID variable). I will be passing this to a cloaking code on my website (while I work on landing pages for the future).

I would like to create one cloaking code per campaign, so I need to pass the TID to the code. How do I do this with the code below?

Thanks for your help

-----------------------------------------------------------

<HEAD>
<script>window.status = '';</script>
<title>How to make money working at home</title>
</HEAD>
<FRAMESET border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0>
<frame src=http://myclickbankID.merchantID.hop.clickbank.net/?tid= scrolling=auto frameborder="no" border=0 noresize>
<frame topmargin="0" marginwidth=0 scrolling=no marginheight=0 frameborder="no" border=0 noresize> <body></body>
</FRAMESET>
OR...


<html>
<head>
<title>Loading page...</title>
<meta http-equiv="refresh" content="2;URL=http://AFFILIATE.PUBLISHER.hop.clickbank.net/?tid=">
<script>
url='http://AFFILIATE.PUBLISHER.hop.clickbank.net/?tid=';
if(document.images) { top.location.replace(url); }
else { top.location.href=url; }
</script>
</head>
<body>Loading
<a href=http://AFFILIATE.PUBLISHER.hop.clickbank.net/?tid=>page</a>...
</body>
</html>
#cloaking #code #paramter #passing #tid
  • Profile picture of the author violationz
    LOL I get mad errors when trying to post PHP code, even in the code box... weird. Anyway, I attached a text file of the code/how it works.
    {{ DiscussionBoard.errors[51301].message }}
    • Profile picture of the author ronb107
      Thanks, Violationz.

      This does answer my question.

      BTW, what do you use to manage your campaigns (down to the ad level)?

      Thanks,
      Ron
      {{ DiscussionBoard.errors[51999].message }}
    • Profile picture of the author rwil02
      Nice.
      another suggestion.
      I use parameters that look useful to people.
      Like index.php?offer=gw.ad1 or ?coupon=123456
      makes them less likely to snip it off.
      Signature

      Roger Willcocks
      L-Space Design
      Please vote to help me win a 3kW solar array

      {{ DiscussionBoard.errors[55802].message }}

Trending Topics