Alright I need some help becuase I do not know any PHP but I'm pretty sure this would be simple for anyone who does. So here what I want to do: I have 1 review page with multiple links going to 3 different clickbank products. The problem I have is that I have many articles going to that one page so instead of making a new page for every article just to change up the TIDs I what to put a PHP code so it will change the tids of all the links depending on what is in the address bar. So if the address bar says http:reviewpage.com/?tid=123. I want all the tids on the links to be 123. I think you can do this with variables or what ever they are called but I do not know how. Any help is greatly appreciated. Thanks -Emon878
This is how you do it: This goes at the top of the file: <?php $seedvar=$_GET['id']; ?> PHP: After that, in the landing page HTML code, when you're gonna place hyperlinks use the following code: <a href="http://clickbankid.cbproduct.hop.clickbank.net/?tid=<?php echo $seedvar;?>">Product Name </a> In order to track your landing, you're gonna add ?id=landingpageid after the link to your landing page. You're gonna put a different number for every different landing page For Example: Landing Page 1 http://www.yourpage.com/index.php?id=1 When you do this, 1 should appear as the tracking number. Landing Page 2 http://www.yourpage.com/index.php?id=2 Landing Page 3 http://www.yourpage.com/index.php?id=3 etc. Save and Close the file, upload it to your server, and test it
Wow thanks ripped for the quick reply works perfectly does exactly what I want. This is a gonna save me a lot of time. And help me get more articles out faster. Thanks a lot
I guess you could also add this to the <a href> code to, in a way, hide the hoplink: ONMOUSEOVER="window.status='Visit site'; return true;" ONMOUSEOUT="window.status=''; Code (markup): Unless there's a way we could use PHP to also cloak each of the links appropriately, but that might be a little complicated..
glad I could help, I have answered this question before, but it is burried somewhere in the Clickbank Section
Does anyone know what's wrong with my code? <?php $seedvar=$_GET['id']; header("Location: http://nramos.producthere.hop.clickbank.net/?tid=UTI<?php echo $seedvar;?>"); ?> Code (markup): That's my index.php file. It's just basically a redirect. It works, but when I go to the products payment page, it shows my affiliate ID, but not the TID.
@Scribblez - <?php $seedvar=$_GET['id']; $link = "http://nramos.producthere.hop.clickbank.net/?tid=UTI".$seedvar; header("Location: $link"); ?> PHP: For the rest of you, there is a decent php tracking script that Niche Chopper members, including myself compiled over at the NC forum
Hi there, very interesting ! I don't see how this code is working though. It hides the affiliate's name in the link ?
No. When you hover over the link it stops it from being displayed in the status bar - so the user can't see an affiliate link. @Scribblez - did you check my post??