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

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?