I wish to use event tracking to record clicks on a specific type of link to another website. I am using jQuery, and the code I currently have is:
$(\'a.websi
How about solution from this answer?
// Log a pageview to GA for a conversion _gaq.push(['_trackPageview', url]); // Push the redirect to make sure it happens AFTER we track the pageview _gaq.push(function() { document.location = url; });