Skip to main content

Cartful + Google Analytics 4 (GA4) Integration

Send Cartful quiz events to GA4 via a native Studio plugin. Customers provide their Measurement ID, choose which events to fire, and customize event names.

Analytics Native Push

Last updated 2026-02-18

Cartful + Google Analytics 4 (GA4)

Does Cartful integrate with Google Analytics 4?

Yes. Cartful has a native GA4 plugin in Studio. You provide your GA4 Measurement ID, choose which quiz events to send, and optionally rename them to match your naming convention. Events are fired client-side via gtag.js.

Why this matters for GA4 users

GA4 is event-based, which makes it a natural fit for quiz instrumentation. Every meaningful quiz interaction — start, step progression, completion, product view, add-to-cart — can be tracked as a discrete event alongside your existing ecommerce data.

The challenge is usually getting quiz events into GA4 cleanly, with names and parameters that match your existing reporting structure. Cartful’s Studio plugin handles this: you pick which events to fire, rename them if needed, and Studio shows you which properties are available per event so you can map them to your GA4 custom dimensions.

The result is quiz funnel data in GA4 without custom instrumentation work.

What this integration does

When a shopper interacts with a Cartful quiz, the Studio plugin fires GA4 events via gtag.js. You control:

  1. Which events fire — select from the full canonical event set in Studio.
  2. What they’re called — rename events to match your GA4 convention (e.g., quiz_start instead of quiz:start).
  3. Which parameters are included — Studio lists available properties per event. You configure matching custom dimensions in GA4.

Available events

Cartful supports 10 canonical quiz events — including quiz:start, quiz:complete, product:addToCart, recommendations:loaded, and others. You select which to enable in Studio, and can rename any of them to match your GA4 naming convention.

How it works (setup)

  1. Create a GA4 plugin in Studio and enter your GA4 Measurement ID.
  2. Select which events to enable from the canonical event set.
  3. Rename events if your GA4 property uses a different naming convention (optional).
  4. Configure custom dimensions in GA4 for any event parameters you want to see in reports. Studio shows available properties per event to guide this.
  5. Enable debug mode during setup — events will appear in GA4 DebugView for real-time validation.
  6. Disable debug mode before going to production.

Data mapping

CartfulGA4Notes
Quiz event (e.g., quiz:start)GA4 event (customizable name)Fired via gtag.js. Customer controls naming.
Event properties (per event)GA4 event parametersRequire pre-configured custom dimensions in GA4 to appear in reports.

Custom dimensions: the key setup step

GA4 does not automatically surface custom event parameters in reports. If you want to see quiz-specific properties (answers, product data, scores) in your GA4 reporting, you must:

  1. Check which properties are available per event in Studio.
  2. Pre-configure matching custom dimensions in your GA4 property (Admin > Custom definitions > Custom dimensions).
  3. GA4 will then associate incoming event parameters with those dimensions.

This is a GA4 requirement, not a Cartful limitation — it applies to all custom event parameters in GA4.

Good to know

  • Custom dimensions required for parameters. GA4 custom dimensions must be pre-configured before custom parameters appear in reports. Studio shows available properties to guide this.
  • No fixed parameters. Cartful does not auto-send a default set of parameters. You choose what to include based on your GA4 setup.
  • Debug mode. Debug mode is available and useful during setup, but must be disabled before production. Enable or disable it when creating or editing the plugin.
  • Client-side only. Events are sent via gtag.js from the browser.

See: Integrations hub · Product

Frequently asked questions

Is this a native or custom supported integration?

Native. Cartful has a built-in GA4 plugin in Studio. You provide your Measurement ID and select events — no code required.

How do Cartful events reach GA4?

Events are sent client-side via gtag.js. The Studio plugin handles the instrumentation.

Can I rename events?

Yes. Event names follow a default canonical format (e.g., quiz:start, quiz:complete), but you can rename them to whatever your GA4 naming convention requires.

Why don't I see event parameters in GA4 reports?

GA4 requires custom dimensions to be pre-configured in the GA4 property before custom parameters appear in reports. Studio shows which properties are available per event to guide your configuration.

What happens if a shopper retakes a quiz?

New events are fired for the retake session. Since GA4 is event-based, each interaction is recorded as a separate event.

How do I test the integration?

Enable debug mode when creating or editing the plugin in Studio. Events will appear in GA4 DebugView in real time. Remember to disable debug mode before going to production.

Does this work on platforms other than Shopify?

Yes. The GA4 integration is platform-agnostic. It works on any stack where the Cartful quiz is deployed.

Related

See Cartful in action

Get a live walkthrough tailored to your catalog.