javascript - Event handling - onClick - with Google Analytics with an tag -



javascript - Event handling - onClick - with Google Analytics with an <embed> tag -

i using embed tag play sound clips users on 1 of pages. looks like:

<embed src='my_soundfile.wav' type='audio/wav' controls='smallconsole' autostart='false' onclick="_gaq.push(['_trackevent', 'audio', 'play', 'my_soundfile.wav']);"> </embed>

when check google analytics (after 24 hrs.), nil showing up. doing incorrectly?

thanks.

i think quicktime capturing click events, if replace

onclick="_gaq..."

with

onclick="alert('test');"

you see id doesn't work either.

javascript google-analytics

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -