Within Google Tag Manager you can add all your relevant connections (google analytics, google ads, meta etc) within your google tag manager container and just connect this to your GiveEasy account.
Please note this is an integration with Google Tag Manager (GTM) not a direct integration with Google Analytics (GA4). Please ensure that you have set up GA4 as a tag within your GTM container for this integration to work.
To connect your GTM to your GiveEasy account all you need to do is:
- Login to your GiveEasy account
- Navigate to ‘Account Settings’ > ‘Analytics Integrations’
- Under the Google Tag Manager section, add a new Google Tag Manager setting by entering your Container ID (which needs to start with GTM e.g. GTM-XXXXX) and name. This will add the configuration to your charity account to be used across campaigns.
- Navigate back to the Campaigns page
- Find your relevant campaign you wish to add your GTM tracking to and select ‘Settings’ > ‘Analytics Integrations’
- If Google Tag Manager is not enabled in the settings, you can enable it by toggling this on and selecting your relevant Google Tag Manager connection and clicking ‘Connect’
And that’s all the set up that is required within GiveEasy.
Recommendations For Google Tag Manager
Ecommerce Tracking Requirements For Google Analytics (GA4):
- Add a new tag and set the tag type as Google Analytics: GA4 event
- Add in your Google Analytics measurement ID
- Set the Event Name as the built-in variable “{{Event}}”
- Next go to more settings and check the “Send Ecommerce data” option and then with the ‘Data Source’ set this as “Data Layer”. This will allow your GTM configuration to pass Ecommerce events to your GA4 tag.
- If you already have a custom purchase event set up, skip to step 9. If you haven’t already got a custom purchase event set up then you will need to do the following steps. Save the tag and then navigate to ‘Triggers’
- Under ‘Triggers’ select “New” and name your new trigger Purchase or something similar
- Then set the trigger type as ‘Custom Event’ and set the event name to be ‘purchase’. Enable ‘Use regex matching’.
- Save the trigger
- Navigate to variables and under ‘User-Defined Variables’ click “New” and add the following "Data Layer" variables (these correspond with the data passed from GiveEasy for the purchase event):
Name | Parameter |
Ecommerce Items | value.items |
Ecommerce Transaction ID | value.transaction_id |
Ecommerce Value | value.value |
Ecommerce Currency | value.currency |
- Repeat for all listed variables
- Once you have added all the above variables navigate back to your tag from before
- Add the custom purchase event to be the trigger for your tag
- Then under ‘Event parameters’ you will need to add the following (this will capture and pass these parameters to GA4):
- Save your tag
To ensure the setup is working as intended please test the page through both the Google Tag Manager DebugView and the Google Analytics Tag Assistant applications. For more details around testing please refer to the official Google documentation here https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce#verify-data
Otherwise, for more details regarding ecommerce tracking and setup please refer to here https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm#before_you_begin
Comments
0 comments
Please sign in to leave a comment.