Configure Pop-Up Event Tracking with Google Tag Manager

If you integrated Google Analytics through Google Tag Manager (GTM), you need to integrate Pop-Up event tracking through GTM as well.

About this task

Complete the following steps in Google Tag Manager:

Procedure

  1. Create the following variables:
    1. Variable 1:
      1. Variable Type: Data Layer Variable
      2. Variable Name: BR - Pop-up – Action
      3. Data Layer Variable Name: BrontoPopUps.eventAction
    2. Variable 2:
      1. Variable Type: Data Layer Variable
      2. Variable Name: BR - Pop-up – Category
      3. Data Layer Variable Name: BrontoPopUps.eventCategory
    3. Variable 3:
      1. Variable Type: Data Layer Variable
      2. Variable Name: BR - Pop-up – Label
      3. Data Layer Variable Name: BrontoPopUps.eventLabel
  2. Create a new trigger for your Bronto Pop-ups:
    1. Type: Custom Event
    2. Event Name: BrontoPopUps
    3. Trigger fires on: All custom events
  3. Create a new tag:
    1. Tag Name: BR - Pop-up Tracking
    2. Tag Configuration: Google Analytics: Universal
    3. Track Type: Event
    4. Event Tracking Parameters:
      1. Category: {{BR - Pop-up - Category}}
      2. Action: {{BR - Pop-up - Action}}
      3. Label: {{BR - Pop-up - Label}}
    5. Google Analytics Setting: Reference your Google Analytics Account ID or create a new variable.
    6. Triggering: Use the trigger that you created in step 2.