- This topic has 2 replies, 2 voices, and was last updated 13 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Cloak Affiliate Links
Tagged: Cloaked Affiliate Link
Another quick quesiton, how can I cloak affiliate links, so when they come to the page, the affiliate is set then it moves to a page with the missing affiliate link on the line. REason I ask is that I’m running a javascript flyin that activates when the user is about to move away from the page, and it looks at the exact url and the affiliate id at the end is messing things up.
Thanks!
Frank
Search for the following line in “wp_affiliate_platform1.php” file
//wp_aff_redirect_to_non_affiliate_url();
Once you find it change it to the following:
wp_aff_redirect_to_non_affiliate_url();
This will redirect the visitor to the URL without the affiliate ID.
You can only cloak affiliate links on the client side using a plugin like the following:
This is the whole reason affiliate link croakers exists.
Super fantastic Amin!
Much appreciated.
Frank