Mobile app version of vmapp.org
Login or Join
Odierno851

: Can I Track Pop-Up Displays Using Google Analytics Event Tracking I'm trying track the number of times a pop-up displays on my site, but can't get it to show as an Event in Google Analytics.

@Odierno851

Posted in: #EventTracking #GoogleAnalytics

I'm trying track the number of times a pop-up displays on my site, but can't get it to show as an Event in Google Analytics.
I've included this in the pop-up itself:

<a href="http://www.domain.com/destination"><img src="http://www.domain.com/popup.jpg" onload=”ga(‘send’, ‘event’, ‘popups’, ‘popup1’);“></a>


Any idea what I'm doing wrong?
Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

1 Comments

Sorted by latest first Latest Oldest Best

 

@Frith620

For what it's worth, I found the problem. The single and double quote marks were improperly formatted. (You can see they're the slanted versions, when I should have used the vertical ones.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme