Configuring Inspector Gateways
Add Avo Inspector at the gateway, at each output, or both, so Avo can check what each checkpoint actually receives.
Gateways are in closed beta. Reach out at support@avo.app or in the chat bubble in the app to request access and share feedback.
Inspector checks that the events your gateway handles match the design in your tracking plan. There are two kinds of checkpoint, and you can add Inspector at either or both:
- At the gateway: one checkpoint that sees every event after the gateway’s own transformations, before anything output-specific happens. Leave the output reference empty here.
- At each output: one checkpoint per destination that sees the event after that output’s transformations. Set the output reference to that output’s reference, such as
meta-7f3k2q.
Start by setting up the gateway in your tracking plan. One Inspector API key covers the whole gateway. Find it in Avo on the Sources page, under Gateways: open the gateway and go to the Inspector setup tab. The tab also lists each output’s reference and shows these steps for your gateway type.
Tell Avo which source an event came from
A gateway usually receives events from several sources, so every event needs an origin hint: a value that names the source it came from, such as web, ios or android. Keep it to a few fixed values. Without an origin hint, Avo can’t tell which source an event came from, so it doesn’t check the event against your design.
Set it up in two places:
- In Avo, map each value to a source. On the Sources page, open each source that feeds the gateway, go to its Inspector setup tab and add the value under Origin hints. Each value can belong to one source only, and the match is exact and case-sensitive.
- In your Inspector setup, send the value on every event. Each setup below has an origin hint field. Fill it in on every event, even where it’s labelled optional. Set the origin app version to that source’s app version as well. With an origin hint set, events without an origin app version are recorded without a version.
Set up your gateway
- Copy the key from the Inspector setup tab.
- Add the tag template. In your server container, open Templates, choose Search Gallery under Tag Templates and add the Avo Inspector tag template. Paste the key into Avo Inspector Key and choose the Environment (development, staging or production).
- Inspect at the gateway. Add an Avo Inspector tag with Output reference (optional) left empty, fired by a Custom Event trigger whose event name matches the regex
.*so it sees every event. In the tag’s Transformations section, apply the gateway-level transformations and none of the output-specific ones. With no gateway-level transformation, inspect the event as received. - Inspect each output. Add one Avo Inspector tag per destination with the same triggers as that destination’s tag, and set Output reference (optional) to that output’s reference. In the tag’s Transformations section, apply the same transformations as the destination tag.
- Set the origin hint. On every Avo Inspector tag, set Origin hint (optional) to an Event Data variable that names the source, such as
{{Event Data - platform}}. Set Origin app version (optional) to that source’s app version.
The environment is fixed per tag. Use a separate tag, or a lookup variable, if one container serves several environments. Events you send while testing in GTM Preview on a production container are recorded as production for now.
Check that events arrive
Send a few test events through the gateway in development. Then open the Inspector Debugger and filter on your gateway to see each event at each checkpoint. The Debugger doesn’t check gateway events against their checkpoint yet. Issues at each checkpoint show up in the Issues view.
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 look up each output's reference and tell you what every checkpoint should receive.