Event tracking not recording

Hi,
I tried using the tracking code like this
<a href="my_link" onclick="_paq.push(['trackEvent', 'donation', 'goto', 'my title']);">my link</a>
but nothing is recorded. What am I getting wrong ?
tnx
L

In what context? What is the engine of your site? PHP? HTML?ASP?

Can you paste the page code without the tracking code, then we might be able to narrow down where and how to insert the tracking code.

Hi,
Thanks for your answer.
Meanwhile I found my mistake. It was a second function lying on the same onclick that caused the problem.
I think everything should work now.
Cheers

1 Like