Search code examples
google-analyticsgoogle-tag-managergoogle-analytics-4

Can i configure two different GA4 Tags config for one GTM?


Can I track same event tags from GTM for different GA4 Tags?

I would like to have another GA4 for the same application but different environment. If I configure new GA4 config tag, GTM should send data properly for both GA4's?


Solution

  • Currently not. You need another ga4 event tag to fulfill this requirement.

    But I think the easiest way is :

    1. Create another GA4 configuration tag.
    2. Export the current GTM container.
    3. Copy all the tag in the JSON file and replace the measurement id to the new one.
    4. Now you have two set of the GA4 events.

    Downside for this is you need to maintain 2 set of GA4 tags in the future.