homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Advertising / Affiliates
Forum Library, Charter, Moderators: eljefe3 & skibum

Affiliates Forum

Merchant advises against PHP to mask affiliate links
But links seem to redirect fine and preserve aff info

10+ Year Member

Msg#: 4243517 posted 10:13 am on Dec 17, 2010 (gmt 0)

I've been using the common PHP code to hide my CJ aff links

header ("Location: $URL");

This has worked fine for all my sites and merchants so far. However, I've had a tracking problem with one of the merchants recently (sales were not tracked at all) and they advised against using PHP redirects as that may not track properly.

I've done a server headers check on both masked and non-masked links and the affid is preserved in both cases. I can't see how it wouldn't track properly but if it's true, then I'm concerned that some of the sales may not track for ALL my other merchants with Commission Junction and other networks.

So, in your experience, could the code above cause problems? Also, could it only fail with some of the sales or is it safe to say that if it works (e.g. tracks sales), then I can expect it to be consistent?




10+ Year Member

Msg#: 4243517 posted 7:59 am on Jan 4, 2011 (gmt 0)

There is NO problem with the code for tracking. Problem is with your merchant. Stop promoting them.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Advertising / Affiliates
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved