Hi all,
Mailto: links aren’t tracked by google analytics, as there is no ‘url’. I’m normally able to manually add the tracking code in these cases, but Oxid does some encryption on the emails and delivers them in a bunch of scrambled code, and I can’t find where this is generated or how I might be able to manually add my tracking code.
[B]Does anyone know how I might be able to insert the tracking code so my mailto:'s would be delivered like so?[/B]
(Encrypted(best) or not)
<a href=‘mailto:[email protected]’ onClick="_gaq.push([’_trackEvent’, ‘Anfrage’, ‘ShopMail’, ‘[email protected]’]);"><b>[email protected]</b></a>
Currently this is necessary not only on the contact page and the product detail page (Question). btw: The email itself is pulled from the email set in the admin area and inserts it directly in the href.
I’m on version 4.