How to track pop-ups using google tag manager events?

How to track pop-ups using google tag manager events?

Let's start

For tracking every time a pop up appears on your site,  push an event within data Layer and set up trigger using that event

//implement this code when popup appears

dataLayer.push({

   ‘event’:’popup’

});

Then set up a tag that triggers on custom event i.e popup. You can use the same approach for other user actions including implementing code on popup form submit.

see the original question: https://productforums.google.com/forum/#!topic/tag-manager/BeCq3MrP6Mw;context-place=forum/tag-manager

Are you looking for a top-notch Data Analytics team to enhance your business’s data-driven decision making? Reach out here or learn why hiring a customer analytics consultant is important for your business? If you want to know more about us, click here.

Don't miss out when new resources launch

Our customer analytics experts share wisdom only once a month

Share now

We are a customer-analytics consultancy that transforms messy data into actionable insights that will help you grow your company and make better data-backed decisions.

We're trusted by the best
Need something done?