Gateways

Bring your tag manager, CDP or event pipeline into your tracking plan, and check that what each destination receives matches the design.

Your tracking plan describes the events your sources send. Most events then pass through something before they reach a destination: a Google Tag Manager container (web or server-side), a CDP such as Segment or RudderStack, or a service you built yourself. That system renames events, drops properties, adds others and sends a different version of each event to each destination.

A gateway brings that step into your plan. You describe what the gateway does, Avo works out what each destination should receive, and Inspector checks the events as they actually leave the gateway.

Why add your gateway to Avo

  • Know what each destination should receive. From your plan and the gateway’s transformations, Avo works out what each checkpoint should receive: which events, which properties, and whether each property is always sent, sometimes sent or never sent. That’s the contract for that checkpoint.
  • See where an event broke, not just that it broke. When your gateway sends events to Inspector from the gateway and from each output, Avo compares them with that checkpoint’s contract and raises issues at the checkpoint where something went wrong. See Configuring Inspector Gateways.
  • Know what lands downstream. Each output’s definition says which events and properties a destination receives, under which names, and where each one came from. Use it to define your warehouse tables, or to know which events and properties to query.
  • Keep consent-dependent and personal data out of an output. Drop a property, or a whole event, at an output when consent isn’t given, and keep that rule next to everything else the output receives.
  • Know what to change in your gateway. When a branch changes the plan, Avo lists the gateways whose configuration needs an update, before you merge.
  • Catch a transformation that breaks the plan before you merge. The branch audit checks each gateway’s transformations and flags, for example, a required property an event doesn’t have, two properties sent under one name, a drop that can never apply, a transformation with no effect, and inputs that change the same event differently. See Gateway Rules.

How a gateway is modelled

A gateway sits between your sources and your destinations. Events start at your sources, the gateway transforms and enriches them, and your destinations use them. Each step along the way is a checkpoint: a source, an input, the gateway itself, an output or a destination. Avo can describe what an event looks like at every checkpoint, and Inspector can check it at your sources, at the gateway and at each output.

Events start at your sources, such as web, iOS, Android and backend. They get reshaped in your gateway: GTM, a CDP or a service built by your team. They get used in your destinations: analytics tools such as Mixpanel, Amplitude and GA4, marketing tools such as Meta, Google Ads and TikTok, and warehouses such as Snowflake, BigQuery and Databricks.

  • Inputs are the sources that send events into the gateway, such as your web and app sources.
  • Outputs are the destinations the gateway sends events to, such as Meta, Google Ads or Pinterest. Each output gets an output reference, a short id like meta-7f3k2q that you paste into your gateway setup so Avo knows which output an event left from.
  • Transformations describe what the gateway changes. They can sit on the gateway, on an input or on an output, and apply to every event, to some events only, or only when a property has a value, such as consent. For example, an output to Pinterest can send transaction_id as order_id, and an output to Meta can drop a property that holds personal data when consent is rejected.

Read more in Transformations.

This is how the checkpoints line up when Google Tag Manager is the gateway:

Checkpoints with Google Tag Manager as the gateway. Source checkpoints: Web, iOS and Android. Gateway input checkpoints, each with a transformation: from Web, from iOS, from Android. The gateway checkpoint, with a transformation for all events. Gateway output checkpoints, each with a transformation: to Meta, to Google Ads, to GA4. Destination checkpoints: Meta, Google Ads and GA4. Avo Inspector validates the event against your plan at each source, at the gateway and at each output, which is the last checkpoint before the destination.

Where to find gateways in Avo

Gateways live on the Sources page, in the Gateways tab. Each gateway is a row, wired to the sources that feed it on the left and the destinations it sends to on the right. Routes that skip every gateway run along the bottom. Hover a gateway to highlight its routes.

On the Sources & destinations tab, each gateway appears once between your sources and destinations, as a point every route through it passes. Hover it to see its inputs, outputs and transformations.

Open a gateway to see three tabs:

  • Overview: a diagram of the gateway’s inputs and outputs. A filled dot on a line means that input or output has transformations, and a hollow dot means events pass through unchanged. Hover a dot to see its transformations. Below the diagram you can see whether Inspector receives events from the gateway.
  • Transformations: what changes at each checkpoint.
  • Inspector setup: the gateway’s Inspector API key and the setup steps for your gateway type.

Gateways are created and changed through the Avo MCP by your agent. The app shows the result for review, and branch changes to a gateway appear in the branch diff like any other change. A branch’s Code Changes tab also lists the gateways whose configuration needs an update. See Review and merge.

You can also see your gateways from the events in your plan:

  • Events view. Pick a lens to see your tracking plan as one checkpoint receives it: a source, a gateway, a gateway output or a destination. The list narrows to the events that reach it, with their volume and issues from Inspector and what the transformations change.
  • Event health. In an event’s details, the Event health tab maps the event’s route from your sources through your gateways to your destinations, with Inspector’s issues and how many times Inspector saw it at each checkpoint. View transformations opens the gateway’s Transformations tab.

Get started

  1. Set up a gateway with your agent through the Avo MCP.
  2. Install Inspector on the gateway in your server-side GTM container, web GTM container, Segment, RudderStack, or a C#, Node.js, Java or Go service.
  3. Start with one output, such as Meta, and add the rest once events arrive.

For short answers to common questions, see the Gateways FAQ.

What Avo does not do

  • Avo does not replace your tag manager or CDP. Your gateway still changes and delivers your events. Avo describes what it should do and checks the events it handles.
  • Avo does not confirm that a destination received an event. Inspector checks the event as it leaves the gateway output, after that output’s transformations.
  • Inspector does not check events your gateway drops. It only checks the events that reach a checkpoint. To spot a dropped event, Inspector needs to be installed before and after the point where the event is dropped, such as on the source and at the gateway. See Validate at each checkpoint.
  • Avo does not change your tags for you. It lists what needs to change. Your agent can make the change if it is connected to your tag manager or CDP.

Avo is the analytics governance platform for product data that lets you define it consistently, implement it correctly and trust it everywhere. Using an AI agent? Connect it to the Avo MCP at https://mcp.avo.app/mcp and it can set up gateways, write transformations and tell you what any event looks like at each checkpoint.