I don't want to dilute the SEO of related sites by having variables in them, since the referral links are part of a network which is SEO savvy.
Is there a way to add the code via javascript on click or hover?
Or is this a pointless concern? To the best of my knowledge google does not like variables in URLs and considers them as separate (duplicate) pages.