Send Feature Experimentation Event to Google Analytics

The AB Tasty > GA4 Push Connector enables you to automatically send server-side experiment data from AB Tasty’s Feature Experimentation platform to Google Analytics 4 (GA4). This integration allows you to analyse how specific feature flags and variations impact your key metrics directly within GA4, without requiring client-side tracking.

Once configured, the connector pushes campaign and variation identifiers as custom events in GA4 whenever a decision is made for a visitor. This ensures consistent experiment tracking across both platforms, enabling more unified reporting and deeper behavioural insights.

circle-exclamation

How-to

1

On Google Analytics: create Custom events on GA4

  • Go to AdminData DisplayCustom definitions

  • Create a custom dimension for:

    • flagship_campaign

    • flagship_variation

2

On Google Analytics: generate an API key

  • Go to AdminData streamsMeasurement Protocol API secrets

  • Generate an API key

3

On AB Tasty: create a GA4 connector

  • Create a GA4 push instance

  • Enter API secret and Measurement ID

    • Measurement ID : It is the unique ID of a data stream (i.e. one of the data sources that provides data to your property). To retrieve your GA Measurement ID go to the Google Analytics interface and click Admin>Property>Data Streams> Web and choose your data stream. GA Measurement ID appears at upper right. More information herearrow-up-right.

Last updated

Was this helpful?