![]() | | ||||||||
| | #1 |
| Today's the day! War Room Member Join Date: Oct 2007 Location: Florida, USA.
Posts: 1,262
Blog Entries: 6 Thanks: 309
Thanked 356 Times in 193 Posts
|
I usually use the following type of url: Code: http://mysite.com/link/product/ Code: <?php header( 'Location: http://cb_nick.cb_product.hop.clickbank.net/?tid=source1' ) ; ?> |
| | |
| | |
| | #2 |
| Warrior Member War Room Member Join Date: Dec 2008
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
|
Yeah, you can track how many times the site has been visited (how many who have clicked the link) ![]() <?php $filename = "stats.txt"; $clicks = file_get_contents($filename); $clicks++; $fp = fopen($filename, "w"); fwrite($fp, $clicks); fclose($fp); header("Location: put-your-url-here"); ?> Create a file named stats.txt and upload it to the same folder as this script, then CHMOD it to 777, and then your set! Hope this was helpful! EDIT: I forgot to mention that the number of times the link has been clicked is recorded in stats.txt |
| | |
| | |
| | #3 |
| Warrior Member Join Date: Jun 2008 Location: , , Australia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
I've got the same question, and I use the exact same technique as you, Kelly. Given clickbank already tells us how many hops we get & we can use tids to work out where they came from, I think we need to use 301 or 302 redirects, which I'm trying to work out right now in cpanel! I'll let you know how I go... but at the moment I think i'm gonna do this: 1. Create a new page to replace the direct .php link. I'll call it /recommends/product1.html 2. Put the google website optimizer code in that html file. 3. Set a redirect from /recommends/product1.html (not sure which type?) to /recommends/product1.php, which sends them along to the aff sales page. Anyone actually know what they're talking about? I sure don't... :-) |
| | |
| | #4 | |
| HyperActive Warrior Join Date: Jul 2008 Location: , , Canada.
Posts: 116
Thanks: 1
Thanked 4 Times in 4 Posts
| Quote:
Just wanted to bring that up in case it's still a problem and you are losing sales because of this silly mistake. | |
|
Check out my WSO for 60% off my autoresponder, Bulk Mailer, Opt In Software. 60% OFF Mail List Management Software! Multiple List Capabilities! | ||
| | |
![]() |
|
| Tags |
| conversion, inside or with, php, redirect, tracking |
| Thread Tools | |
| |
![]() |