Skip to main content

Google Analytics 4 (GA4)

Web Source code Package

Google Analytics 4 (GA4) is a web analytics and marketing platform that helps businesses measure traffic across websites and apps. The destination automatically sends events to GA4 via gtag function. All you need to do is install the destination, and optionally map events to GA4's format. walkerOS takes care of loading the script and the function calls.

Installation

Loading...

Setup

Loading...

Configuration reference

PropertyTypeDescriptionMore
measurementId*stringGA4 Measurement ID from Google Analytics
debugbooleanEnable debug mode for GA4
includeArray of properties to include in events
pageviewbooleanEnable automatic pageview tracking
server_container_urlstringServer-side GTM container URL
snakeCasebooleanConvert parameter names to snake_case
transport_urlstringCustom transport URL for GA4
dataanyCustom data mapping configuration
* Required fields

Example

Settings
Loading...
Result
Loading...

Event Mapping

For custom event mapping (mapping.entity.action.settings.ga4):

PropertyTypeDescriptionMore
measurementId*stringGA4 Measurement ID from Google Analytics
debugbooleanEnable debug mode for GA4
includeArray of properties to include in events
pageviewbooleanEnable automatic pageview tracking
server_container_urlstringServer-side GTM container URL
snakeCasebooleanConvert parameter names to snake_case
transport_urlstringCustom transport URL for GA4
dataanyCustom data mapping configuration
* Required fields

You are able to map your walkerOS events to match the respective requirements of each vendor. The mapping examples are using a live configuration.

Mapping examples

tip

The code examples are interactive. You can edit the code to generate your individual event mapping.

Find all of GA4's recommended events in this overview.

add_to_cart

Map your walkerOS event to get an add_to_cart gtag.js event.

Event
Loading...
Mapping
Loading...
Result
Loading...

purchase

Map your walkerOS event to get a purchase gtag.js event.

Event
Loading...
Mapping
Loading...
Result
Loading...
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.