Integrating Popups & Sticky Bars with Event Tracking in Google Analytics (GA4)

Follow

Want to integrate your Popups & Sticky Bars with event tracking in Google Analytics? This article will explain how. 

What you will need:

  • A GA4 property set up on the website where the popup/sticky bar is embedded,
  • An Unbounce Popup & Sticky Bar,
  • A working domain or subdomain.

Integrating Popups & Sticky Bars with Google Analytics

  1. First, follow the instructions in this documentation, Installing Your Popup or Sticky Bar, to install your embed code to your website.
  2. Next, confirm that you have GA4 installed on your website/landing page.
  3. In the Popup or Sticky Bar Overview page, scroll down to the Google Analytics section:
    Google Analytics section within Popups and Sticky bars page.
  4. Toggle the button titled Fire Google Analytics events when this is shown, and when visitors convert:
    Red arrow pointing to toggle button for Google Analytics.
  5. You can customize the event label, so it's easily distinguishable later in Google Analytics, such as "popup button click" or "sticky bar view" etc:
    Gif demo changing the events label.
    • If you have multiple variants for your Popup or Sticky bar, you can tick the option to Append the variant letter. 
  6. Save & republish the Sticky Bar/Popup at the top of the Overview page. 

You're all set. You will start receiving events on Google Analytics. 

Reviewing Event Labels in GA4 or Universal Analytics (UA)

At this time, Unbounce will send both GA4 and Universal Analytics trackers. Here is how these events will appear in Google Analytics. 

Google Analytics 4 (GA4):

  • Name: "unbounce_popup_view", "unbounce_sticky_bar_view", "unbounce_popup_conversion", or "unbounce_sticky_bar_conversion"
  • "Event_label" parameter: the unique ID for the Popup or Sticky Bar by default, or the customized event label set up in the Sticky ​​Bar/Popup Overview (as mentioned in step 5 above). 

Universal Analytics (UA):

  • Category: "Unbounce Convertable"
  • Action: "view" or "conversion"
  • Label:  the unique ID for the Popup or Sticky Bar by default, or the customized event label set up in the Sticky ​​Bar/Popup Overview (as mentioned in step 5 above).