Audience and prerequisites
For developers and measurement owners maintaining a Google tag implementation. You need the tag configuration, the intended Google products/accounts, and access to the relevant admin screens or source code. Skill level: intermediate. Reading time: seven minutes.
1. Separate the tag from its destinations
A Google tag is the website tagging configuration; destinations are the Google product accounts or properties that receive data through it. A GA4 Measurement ID (G-...) identifies an Analytics destination. A Google tag ID (GT-...) identifies a Google tag, while a GTM-... ID identifies a Tag Manager container. They are different identifiers and should not be substituted for one another.
Google's documentation describes connecting Google products to a tag and routing events to destinations. A single tag setup may serve more than one Google product, but the actual destinations and event routing must be reviewed in the tag's settings.
2. Inventory connected products before adding code
List the tag/container IDs, connected destinations, event coverage, and who owns each account. Inspect the existing page and GTM configuration first. Google recommends assessing existing tags before adding another to avoid redundant implementations. Do not infer a destination from a script alone; inspect its ID and configuration.
3. Verify routing for the event in question
In an existing direct gtag.js implementation, inspect its config commands and routing behavior; Google says gtag('config') is deprecated for new setups, though existing setups continue to work. For a new destination, manage the Google product connection in the Google tag settings and follow the current routing reference for event-specific routing such as send_to. With GTM, inspect the configured Google tag, destination tags, and event tag destination in the container. Do not present a generic dataLayer.push() as a routing command: it is only a queue message until tags and mappings act on it.
4. Test a controlled event
Use Tag Assistant to confirm which tag IDs and Google products are recognized and what configured tag ran. Then check the product-specific debug or reporting interface for receipt. If data appears in an unintended product, inspect connected destinations and routing configuration. If events duplicate, check whether both a direct tag and GTM send the same event.
Expected result: you can name the tag/container, each destination, and the route that sends the test event. Tag Assistant and a browser request help inspect attempted behavior but do not prove all downstream processing.
Privacy and maintenance
Share only the data required by each destination and follow consent requirements for every applicable tag. Keep access and ownership records current. Connecting a destination does not automatically ensure that its event parameters, privacy behavior, or reporting configuration are appropriate.
Related work
Before changing a destination, audit existing Google tags. For the broader method choice, see Choose GTM, gtag.js, or Firebase.
Official references
- Configure Google products and send event data Checked November 10, 2026
- Group and route data Checked November 10, 2026
- Analyze existing tag configurations Checked November 10, 2026
What changed
- v1.0.0Initial bilingual guide drafted and checked against current official Google documentation.
- v1.0.1Clarified the deprecation of gtag('config') for new setups and linked new destination setup to current Google tag settings.