- 🇧🇷Brazil adao.boscolo
I solved the integration with GA4.
This is the step by step for Google Tag Manager:
Create two new data variables
AddToAny - socialTarget
Name: socialTarget
Version: 2AddToAny - socialAction
Name: socialAction
Version: 2Create a new trigger
AddToAnyShareTrigger type:
custom eventEvent name:
AddToAnyShareCreate a new tag
AddToAnytag type:
GA4 eventConfiguration tag:
(your GA4 account tag)Event name:
shareEvent Parameters:
Parameter name: method
Value: {{AddToAny - socialAction}}Parameter name: content_type
Value: {{AddToAny - socialTarget}}Triggers
AddToAnyShareThe data will be available in the real-time report (card: Event count by Event Name).