You can follow the steps below to install a Google Tag Manager (GTM) container on your campaigns and track a variety of custom and e-commerce events from your fundraisers and donors.
If you don't yet have Google Tag Manager set up, please refer to Google's Set up Google Analytics in Tag Manager help article.
Step 1: Add your GTM container ID to your Grassrootz campaigns
You can choose to add GTM containers at the organisation level to be automatically applied across all of your campaigns, or you can configure them at campaign level.
Organisation
- Login to your Grassrootz admin account: https://admin.grassrootz.com/
- At the top of the page, click your organisation's name.
- Click 'Advanced' on the left hand side of the screen.
- Under the heading 'Google Tag Manager' click 'Add' then enter your GTM container ID (the format should look something like GTM-XXXXXXX).
- Click the blue 'Save all' button on the bottom right of the screen.
Your GTM container will now be applied across all existing and future campaigns that are created under your organisation's account.
Campaign
If you would like to add a unique GTM container per Grassrootz campaign, please follow the instructions below.
- Login to your Grassrootz admin account: https://admin.grassrootz.com/
- Click 'Campaigns' at the top of the page.
- Find the campaign you would like to add the Pixel to and click the three dots next to it, then click 'Edit'.
- Click 'Advanced' on the left hand side of the screen.
- Under the heading 'Google Tag Manager', enter your GTM container ID (the format should look something like GTM-XXXXXXX).
- Scroll down and click the blue 'Save all' button on the bottom right of the screen.
Your GTM container will now be applied to your campaign.
NOTE: When you have completed the above steps, you will start to see some data flow through to your analytics account, but you will not receive our extensive list of custom and e-commerce events to help you get the most of your tracking. To get the full range of tracking you must complete Step 2 below. |
Step 2: Add Grassrootz configuration to your GTM account to enable custom and e-commerce events
Do you have an existing GA4 config tag in GTM?
If no, follow these steps:
- Download this JSON file
- Open the file and update “publicId” and “tagIds” to be your GTM container ID (The format should look something like GTM-XXXXXXX)
- Also, update the “measurementId” “value” to be your GA4 measurement ID (The format should look something like G-XXXXXXXXXX)
- Save your file
- Go to your Google Tag Manager account
- Click the “Admin” tab
- Click “Import Container”
- Click “Choose container file” and select the file you downloaded in step 1
- If you are using your existing workplace and you have tracking configured, ensure that you click Merge rather than Overwrite or you will lose your other tracking configuration. Alternatively, create a new workspace for your Grassrootz configuration.
- You can preview the changes that will be made, click “Confirm” when you are ready
- When the changes are complete, make sure you “Submit” your workplaces changes so that your tracking will apply
You should now start to see events flowing through to your Google Analytics account.
If you have an existing GA4 config tag in your GTM account, complete the above steps but then modify the two tags you have imported to use your existing configuration. Please see screenshots below for edits:
[Optional:] Cross-domain tracking
If you are using the same GTM container on Grassrootz campaigns as well as any other sites (such as your own website), please refer to Google's [GA4] Set up cross-domain measurement help article.
If you have any questions, just get in touch with our support team at support@grassrootz.com.
Comments
0 comments
Please sign in to leave a comment.