[VE][html5] Google Analytics Event Tracking List

Sabine Pietsch <[email protected]>
Newsgroups gmane.org.w3c.validator
Message-ID <03176B751CE3264EB1FA6937B50E12DB4C91BFF473@winxbede27.exchange.xchg>
Hi there.

I'm using the Google Analytics Event Tracking Code.

The Code is like this for example:
<a href="# " onClick="_gaq.push(['_trackEvent', 'Home_DE_2', 'click_on_Button', 'Free Download']);">
Download
   </a>
I'm using it as specified by Google but the W3C Validator says things like:
No space between attributes.
Quote ' in attribute name. Probable cause: Matching quote missing somewhere earlier.
Attribute _gaq.push(['_trackevent', is not serializable as XML 1.0.
Attribute _gaq.push(['_trackevent', not allowed on element a at this point.

Validating http://www.data-masking-tool.com/


Any ideas? Or is the Validator just not able to recognize things like this?

Thank you!

Sabine
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.