Can anyone give me simple and tested receipt for this? I’m trying to make it work, but I feel like going in circles.
I have the feeling that sometimes space after ; matters…
At the moment I’m using this:
<input type="submit" value="Go" onclick="_paq.push(['trackEvent', 'Category', 'GO Button clicked']); ">
<input type="submit" onclick="_paq.push(['trackEvent', 'Category', 'Name', 'Description', 8.18]); " value="Click" name="commit">
but this seems to work in chrome, but not in FF? What would be proper way to do this so I’m sure that I will record all clicks on this button in FF, Chrome, Safari, and others?
I’d say my solution “sometimes works and sometimes not” - it’s not good enough. Help?