Skip to main contentTailor AI LogoTailor AI

    Tailor AI Β· Help Β· How-to

    How do I connect Tailor to GA4?

    From the Tailor AI team Β· Reviewed

    Answer

    Tailor can send experiment exposure events to GA4, Amplitude, and Segment using the analytics client already installed on your page. Enable the destination in Tailor settings.

    In Tailor settings, enable the destination you want β€” GA4, Amplitude, or Segment. Tailor then emits exposure and experiment events through the analytics client already installed on your page, so your existing analytics setup receives the events without custom code in most cases.

    If you need a custom integration, the manual fallback is to push to window.dataLayer yourself, e.g.:

    window.dataLayer.push({ event: 'tailor_experiment', experimentId: tailorEvent.experimentId, experimentGroup: tailorEvent.experimentGroup, rampStage: tailorEvent.rampStage, rampPercentage: tailorEvent.rampPercentage, });

    From there, map the values into GA4 (or Google Tag Manager) as event parameters or custom dimensions. See /docs/analytics-platform-integration.

    Steps

    1. Add a GTM trigger for the tailor_experiment dataLayer event.
    2. Map experimentId and experimentGroup as GA4 event parameters.
    3. See /docs/analytics-platform-integration for full setup.

    Caveats

    If consent blocks GA4 for some users, your conversion data can be biased by geo/browser.

    Related questions

    Trusted by performance marketers at leading B2C and PLG companies

    See Tailor on your site

    Preview how Tailor adapts your pages to traffic intent.

    Looking for setup guides instead? Browse the documentation.