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
Post a Comment