Forum Moderators: open
Google analytics uses onclick to track clicks going to outside websites.
When I ran both on links last year the onclick showed about 5-7% more clickthroughs.
Any ideas as to why there would be a difference? Which is preferred if you wanted to use one or the other to track referrals from the site?
I am using this to avoid a hard-coded 302 redirect script. I currently use a javascript rewrite to rewrite the href to a redirected href and am looking to simplify the code.
Thank you.