Forum Moderators: DixonJones
I'm sure it's been asked here before - but I can't find the answer.
How can I identify the partner that sent the click to my site e.g ppc with espotting and partner is Yahoo. Is the referer in the header Yahoo or espotting?
could I use HTTP_REFERER in PHP to add the refering site to my logging database?
Hope you can help
Thanks
To track partner / PPC combinations, you could set the PPC destination URL to include a tracking code - eg www.example.com/index.html?ppc=espotting
Matching up these requests with the referral info will give you a good picture of where your paid traffic is coming from.
Anything you put after the '?' is treated like parameters passed to a CGI script, but as the page is actually html and not a script, it just ignores the parameters you've given it :)
Added: This might not work if you already have some URL rewriting going on using mod_rewrite or similar