Skip to main content

How to connect Google Analytics

Learn how Promolayer automatically sends display events to Google Analytics and how to use GA4 Explore to analyze conversion uplift by display.

If Google Analytics is installed on your site, Promolayer automatically sends data when a display is triggered or interacted with. No action needs to be taken to enable this.

You can analyze how your Promolayer displays affect conversions by using the events automatically forwarded to Google Analytics.

Google Analytics 4

Data forwarded to Google Analytics

Action

Event name

Display is shown

view

Conversion event (email submission / click)

convert

Button or link click

click

Display is closed

close

Display is opened from teaser

open

A/B test no-display control event

control

Note: click / pl_popup_click vs. dashboard click count
The click / pl_popup_click event count in Google Analytics may not match the click count shown in the Promolayer dashboard report. The dashboard click count excludes clicks on buttons or links whose action is set to "Close display", as well as X button clicks. See How click count is calculated for details.

Event properties

All events have the following properties attached.

Property name

Value

event_category

Display title

event_source

promolayer

event_label

interaction

For A/B testing, the event_category (Display name) will be {test name}-{display name}. For example, if your A/B test is named "Uplift Validation" and your display is named "Blue Background", it will be listed as Uplift Validation-Blue Background.

Example: Checking conversion uplift for a display

The following steps show how to check whether a display (named "My Display" in this example) provided conversion uplift using GA4 Explore.

Steps

  1. Go to Admin > Audiences, click the blue New audience button, then click Create a custom audience.

    Create a new audience

    Create a custom audience

  2. Enter an audience name (e.g., "Users who viewed my popup"), then add a new condition: Events > View.

    Add a condition

  3. Click Add parameter.

  4. Enter event_category in the search field, then click Use arbitrary param.

    Selecting a parameter

  5. Enter your display's title (in this example, "My Display").

    Enter display title

  6. Select Free form from Explore in the left side menu to create a new report.

  7. Click [+] next to Dimensions and import Audience Name.

    Import audience name

    Click [+] next to Metrics and choose Conversions.

    Add conversions

    Set Rows: Audience Name / Columns: Device Category (default) / Values: Conversions.

  8. View the displays vs. conversions comparison in the report.

Note: Google Analytics can be slow to update audiences. It may take up to a full day for a newly created audience to appear in reports.

Did this answer your question?