Redirects and keeping subid's

Status
Not open for further replies.

Skeletor

New member
May 24, 2007
96
0
0
Colorado
Okay so I am a major php noob and trying to figure out link cloaking. I am trying to do a redirect while still keeping all my subid's so that I can see my traffic source on my a4d click report. Currently here is what I have,

When I am directing my people to my landing page from traffic source 1 I use the link: mylandingpage.com/?id=1

On my landing page I have a my sign up button which uses the link
adtracker/myaffiliateid/sub1<?=$_GET['id'];?> This works and when I get clicks a4d will show me that my traffic came from source 1, but it shows my affiliate link and is ugly.

So I made my sign up button go to mylandingpage.com/signup.php

signup.php uses a java script redirect followed by a meta refresh to myaffiliatelink/sub1<?=$_GET['id'];?>
The problem that I am getting is that clicks are coming through as blank without my subid's and I assume that is because my id= variable is getting lost when they go to signup.php before it redirects. I am sure there is a really simple solution but despite an hour on google I cannot figure it out. I tried using signup.php/?id=<?=$_GET['id'];?> but that is still not working, so any help or input you can give me would be great.
 


Yeah I am going to just use prosper. I figured out the problem though and that was that there was a slash in signup.php/?= were there should not have been one, just fyi for anyone referring back to this thread in the future. I can't believe i made such a retarded post over a syntax error.
 
lol no need in getting frustrated over a "retard post". Just learn from the mistakes you make and move on :D
 
Status
Not open for further replies.