Google Gtag
The Google Gtag destination provides a unified interface for sending events to Google Analytics 4 (GA4), Google Ads, and Google Tag Manager (GTM) through a single destination configuration. Loads gtag script dynamically, initializes the gtag function with your config, handles Consent Mode v2 commands automatically, and pushes mapped events to Google services.
Where this fits
Gtag is a destination in the walkerOS flow:
Installation
Loading...
- Integrated
- Bundled
Loading...
Configuration
This destination uses the standard destination config wrapper (consent, data, env, id, ...). For the shared fields see destination configuration. Package-specific fields live under config.settings and are listed below.
Settings
| Property | Type | Description | More |
|---|---|---|---|
como | boolean | object | Consent mode configuration: false (disabled), true (use defaults), or custom mapping | |
ga4 | object | GA4-specific configuration settings | |
ads | object | Google Ads specific configuration settings | |
gtm | object | Google Tag Manager specific configuration settings |
Mapping
Per-event rules under config.mapping. For the standard rule fields (consent, condition, data, batch, name, policy) see mapping.
| Property | Type | Description | More |
|---|---|---|---|
ga4 | object | GA4-specific event mapping | |
ads | object | Google Ads-specific event mapping | |
gtm | object | GTM-specific event mapping |
Examples
add to cart
Event
Mapping
Out
ads init
Event
Out
consent mode v2
Event
Out
ga4 init
Event
Out
ga4 with include all
Event
Mapping
Out
google ads conversion
Event
Mapping
Out
gtm data layer push
Event
Mapping
Out
gtm init
Event
Out
multiple tools simultaneous
Event
Mapping
Out
page view
Event
Out
purchase
Event
Mapping
Out
Next steps
- Mapping: transform events for Google's expected format
- GA4 configuration: detailed GA4 setup
- Google Ads: conversion tracking
- Consent management: control when events are sent
💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)