Google Analytics 4

Live

Server-side and client-side GA4 events with consent-mode v2 wired in by default.

Capabilities

  • gtag.js + Measurement Protocol
  • Consent mode v2
  • Per-environment property IDs

Common use cases

  • Track form completion + variant performance per landing page
  • Pipe deploys into a custom dimension to attribute conversions
  • Mirror events to GA4 + Mixpanel from one event call

How to wire it up

  1. 01

    Open a project workspace

    In any zyan project, hit cmd + k and type add google analytics 4.

  2. 02

    Authenticate

    Sign in with the Google Analytics 4 account that holds your credentials. We never store your password — only short-lived tokens scoped to the workspace.

  3. 03

    Drop the snippet

    zyan generates an environment-aware snippet that’s ready to commit. Webhooks point at the workspace by default — change them when you promote to production.

  4. 04

    Ship

    Promote the branch. The integration follows it through preview, staging, and production with the right keys per environment.