How to track PopUps With Events in Google Analytics

Already a subscriber – place a link below the CTA that says “I’m already a subscriber” to tell us never to show the PopUp to them again (cookie-based tracking)

Sign-up – how many sign-ups to the newsletter have you got from PopUps?

Here’s how it works. In our example we’ll track subscribers. First we have to figure out how we’d want this data to show up in Google Analytics (you’ll probably may need a developer to help with this):
ga(‘send’, ‘event’, ‘pop up’, ‘subscribe’, ‘[current page url]’);
Our event breaks out into this:category = popupaction = subscribelabel = the page where the action took place