Download a ready-made Google Tag Manager container with a Google tag, GA4 event tags, triggers and variables for every event this module sends. Import it instead of building the tags by hand.
Download
What Is Inside
| Type | Name | Fires On |
|---|---|---|
| Tag | GA4 - Google tag | Initialization - All Pages |
| Tag | GA4 - Ecommerce events | view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase, add_to_wishlist |
| Tag | GA4 - login and sign_up | login, sign_up (method) |
| Tag | GA4 - search | search (search_term) |
| Trigger | CE - softaware_consent_update | For your own tags that should wait for Softaware Cookie Consent |
| Variables | Const - GA4 Measurement ID, DLV - method, DLV - search_term, DLV - user_data, DLV - sw_consent.analytics, DLV - sw_consent.marketing | |
How to Import
- In Google Tag Manager open Admin > Import Container and choose the downloaded file.
- Choose your workspace, then "Merge" and "Rename conflicting tags, triggers and variables".
- Check the measurement ID in "Const - GA4 Measurement ID", preview the container on your shop, then publish.
- Enhanced conversions: in the "GA4 - Google tag" tag, add a User-Provided Data variable that reads "DLV - user_data" (only if Enhanced Conversions is enabled in the settings).
Refunds are not part of the container: they are sent from the server with the Measurement Protocol (see Settings > Refunds).