The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “CPA

Question about link cloaking (php)

Janjas1220

New Member
affiliate
Hello :)

I'm testing this code to hide my affiliate links.
When I go with the mouse over the banner, it's showing the main url now instead of the affiliate url. So that's great already.

When I click on the banner, it redirects to my affiliate link.
That's also good.

But the problem is then: it's showing my affiliate ID again
in the adress bar on top of page. Is there a way to hide my ID ?
What about another redirection ? Sadly I'm not an expert in php codes.

This is the code, I'm testing now ...

a onclick=" parent.location.href='(affiliate link)'; return event.returnValue=false" href="(main link)"> img src="(banner link)" alt="" /></a>

Any idea's ? Thank you :);)
 
banners
Back