Skip to main content

Google Analytics 4 Integration

Updated this week

Jebbit's Google Analytics 4 integration provides a straightforward yet powerful way to send valuable data to your Google Analytics property. This includes information about screens visited, responses given, leads captured, and products added to the cart. This integration helps you gain a comprehensive understanding of how users interact with your experiences.

Before you begin

Locate your Google Analytics 4 Measurement ID. This ID typically starts with "G-" and is found in Google Analytics under Admin > Property > Data Streams.


Setting up a Google Analytics 4 integration

You can set up the integration on an individual campaign or for your entire brand.

Set up on an individual campaign

  1. In the Builder Map, click the 3-dot menu.

  2. Select Vendor Pixels.

  3. Paste your Measurement ID into the field and click Save.

Set up on a brand

Setting up at the brand level applies the integration to all campaigns within that brand.

  1. Visit the Integrations page.

  2. Click on the Google Analytics tile.

  3. Click Connect.

  4. Paste your Measurement ID into the field.

  5. Click Save.

Understanding the event types

The Google Analytics 4 integration sends four types of events to your property:

  • On Screen Load: page_view

    • Fires a page view event each time a screen loads.

    • Passes a unique URL and the Screen Name.

    • Helpful for understanding which screens a user visited, especially since a Jebbit experience is a single-page application.

  • On Screen Response: custom_event

    • For each response a user selects, the response and question name are passed.

    • Helpful for understanding customer preferences and segmenting data (e.g., comparing conversion rates by age group, determining purchase likelihood for recommended products or specific audience segments like Side Sleepers).

  • Lead Capture: generate_lead

    • Fires an event when an email or phone number is captured.

    • Indicates that lead information was collected, but does not send the email address itself, as this is considered Personally Identifiable Information (PII) and is prohibited in Google Analytics.

  • Add to Cart: add_to_cart

    • If you use the add to cart feature with Shopify or BigCommerce, this event fires when a user adds products to their cart.

Configure additional settings

You can send events via postMessage or disable events at the campaign level.

  • Send data to the parent page: Select this option if you want to pass GA4 events via postMessage to a parent page. These events fire with an action of "fireGTM".

  • Enable Campaign Events: This toggle turns the pixel on to send events. Turn it off to disable events for that campaign.

Frequently Asked Questions

  • What if I want more customization?

For a more customized setup, please refer to our Google Tag Manager integration.

Did this answer your question?