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

Trouble deduplicating "double" ga4 events


We have migrated our tracking to ga4. We have a custom conversion event (a submission on our website). We are using gtag and firing the event only once on the page.

See image below:

enter image description here

However, in https://tagassistant.google.com I can see two events firing to the ga4 container.

One event looks like the code on the page and does not "send a hit", see below:

enter image description here

The second event includes a send_to key and is the only event which "sends a hit" as can be seen here:

enter image description here

I am completely stumped as to why this event is "firing twice".


Solution

  • It is only UI confusing people.

    Check with the debug_view or you can check the network request that send to GA4.

    It should only fire once. The UI in "https://tagassistant.google.com" you can just take care the hits send tab.

    If there is only one request about this event. Then nothing duplicate.