Get exclusive CAP network offers from top brands

View CAP Offers

Affiliate Links and validator

kwblue asked 4 years ago
Hey guys,

I am attempting to validate and change my pages to w3c compliancy. However, I noticed in many of my affiliate links that the links themselves are not compliant.

If I changed:

xxhttp://www.brightshare.com/clickscounter.php?compaign=96&groupid=0&bTag=ajaffxxxx&;affid=xxxx

to

xxhttp://www.brightshare.com/clickscounter.php?compaign=96&groupid=0&bTag=ajaffxxxx&affid=xxxx

would that make tracking not work?? Is there any possibility of tracking being compromised by making these changes?

Thanks!

4 Answers
sipka answered 4 years ago
Unfortunately a lot of aff programs do not provide xhtml validated code, moreover this links use the & in their codes. It is hard to write here the proper code, because the forum parses what I want to do <span title=” title=”” class=”bbcode_smiley” />

You don’t have to change too much, just replace the simple & with “&_a_m_p_;”. <- Remove the underscores from the latter (and the "-s) and you will be fine! <span title=” title=”” class=”bbcode_smiley” />

kwblue answered 4 years ago
Yes – that is what I posted (& a m p ; ) on the second one and it changed it (of course).

I was just curious if this would work for all aff tags. Sounds like it will!

Thanks for the response sipka!

JBaldwin answered 4 years ago
kwblue wrote:
Yes – that is what I posted (& a m p ; ) on the second one and it changed it (of course).

I was just curious if this would work for all aff tags. Sounds like it will!

Thanks for the response sipka!

As long as you dont do the changes in Dreamweaver as Dreamweaver converts them right back the next time you open the file to edit them… :-(

Engineer answered 4 years ago
I would be very careful about changing affiliate tags. If you end up doing this, it would a good idea to test the revised links and see if your clicks show up in the stats.

My 2¢. <span title=” title=”” class=”bbcode_smiley” />