- The GA4 Event tag references the GA4 Configuration tag and therefore depends on the GA4 Configuration tag being set up.
- At runtime, the GA4 Configuration tag must fire before the GA4 Event tag.
To ensure that the GA4 Configuration tag is fired before the GA4 Event tag, assign a GA4 Configuration tag trigger that is guaranteed to be earlier than the GA4 Event tag’s trigger.
Persist settings across events
Universal Analytics makes use of a “Google Analytics Settings” variable to persist tag settings (e.g. tracking ID, cookie domain, or disable advertising features) that need to be consistent across Universal Analytics tags. You can similarly persist settings across GA4 Event tags using the GA4 Configuration tag. GA4 Event tags inherit the parameters and user properties of the linked GA4 Configuration tag.
Interaction between on-page gtag.js code and Tag Manager GA4 tags
If you have both a gtag.js implementation and a Tag Manager GA4 implementation on the same page, the on-page gtag.js code may have an impact on the Tag Manager GA4 tags. Some settings parameters, such as “cookie_prefix”, or “allow_ad_personalization_signals”, assigned via the on-page
gtag('set', paramName, paramValue) command will propagate the parameters to GA4 tags fired from Tag Manager.