Skip to main content

Verify Cooee's impact in Google Analytics 4

Connect GA4 and Cooee creates an audience for every experiment variation, so you can compare them in your own analytics.

Written by Shashank Agrawal

Cooee measures a test by splitting your visitors between its variations and comparing them. The Google Analytics 4 integration puts that same comparison into your own GA4 property, so you can check the result in a tool you already trust, against revenue tracked by your own GA4 setup.

Once you connect, Cooee tells GA4 which variation each visitor is in and creates a GA4 audience for every variation. You then compare those audiences side by side in any GA4 report.

What Cooee adds to your GA4 property

What

Details

Available

experience_impression event

Google's standard event for testing tools, sent through your own GA4 tag on every page for each live experiment the visitor is in. Its exp_variant_string parameter says which experiment and which variation.

Now

Experiment audiences

One per variation of each theme, template, split URL and price test, named like Cooee #42 · Homepage hero · Control.

Now

Campaign A/B test audiences

One per variant of each A/B tested campaign, including the holdout.

Coming soon

Control group audiences

Control and Exposed, to compare visitors who saw Cooee with those who didn't. This is the comparison that shows Cooee's overall impact.

Coming soon

Widget events

Events for what visitors do with Cooee widgets, such as cooee_widget_displayed and cooee_widget_clicked.

Planned

How it works

  1. You connect Google Analytics in Cooee and choose your GA4 property and web data stream.

  2. On every page, for each live experiment a visitor is in, Cooee sends experience_impression through your GA4 tag, with exp_variant_string set to COOEE-<experiment ID>-<variation key>.

  3. When an experiment goes live, Cooee creates a GA4 audience for each variation that matches that value.

  4. You compare the audiences in GA4 reports.

  5. 30 days after the experiment ends, Cooee archives its audiences.

Before you start

  • A GA4 property with a web data stream for your store.

  • The Google tag (gtag.js) must load on your storefront pages. Cooee sends events through it, so they follow your existing GA4 setup and consent settings. GA4 that runs only through Shopify's Google & YouTube app, another customer-events pixel or Google Tag Manager may not expose the tag to Cooee. See Troubleshooting Google Analytics 4 to check.

  • The Google account you connect with needs the Editor role (or higher) on that GA4 property. Cooee needs it to create audiences.

  • The Cooee Web SDK must be enabled in your live theme. See Enable the Cooee Web SDK in your Shopify theme.

  • Connect before you launch the experiments you want to read in GA4. Cooee starts telling GA4 about visitors only once you connect, and experiments already live then need their audiences created by hand.

Guides

Privacy and permissions

  • Cooee sends only experiment and variation IDs. It never sends names, emails, phone numbers or order details.

  • Events go through your own GA4 tag, so your consent settings apply to them.

  • Cooee uses its Google access only to list your GA4 accounts, properties and web streams, and to create and archive its own audiences. It never edits or deletes anything else in your property.

  • Cooee stores your Google connection encrypted, separately from the rest of your store settings.

  • Disconnecting revokes Cooee's Google access and stops the events. Audiences it already created stay in GA4. See Connect Google Analytics 4.

Did this answer your question?