This article guides you through how to set up Google Analytics such that it works with Google Tag Manager and sends analytic data to Google. After following the instructions in Google Analytics 4 (GA4) set up, below, you'll be able to report on and see metrics on site traffic, page visits, bounce rates, and other activity.
IMPORTANT: Google has announced the sunsetting of Universal Analytics (effective July, 2023) in favor of Google Analytics 4 (GA4). Higher Logic recommends that our customers add a Google Analytics 4 property to any current Universal Analytics sites.
Watch the video
TIP: Check out the Higher Logic Academy Paths page for product- and role-specific videos!
Google Analytics 4 (GA4) set up
This section details the steps that are necessary in order to get started with Google Analytics 4.
- Follow Google's instructions to set up a Google Analytics account.
- Create your G4 property for Google Analytics.
- Go to tagmanager.google.com and sign in.
- Click on Google Tag Manager.
- Log in with the same credentials you use to access your Google Analytics account.
- Click Create Account.
- Specify an Account Name.
- Click Continue.
- Specify a Container Name.
- Select Web.
- Click Create.
- On the Google Analytics: GA4 Configuration popup, specify your G4 property tag in the Measurement ID field (usually formatted like G-XXXX) and click Save.
- Click the gray circle under Triggering, select All Pages, and click Save.
- When the modal pops up to Rename Tag, click Save.
- Click SUBMIT in the upper right.
- Click PUBLISH in the upper right.
- Skip the Container Version Description.
- Click the Workspace link in the upper left.
- Copy the GTM code as indicated below.
- Log in to your community site as a Super Admin.
- Navigate to Admin > Pages > Design > Advanced Settings and scroll to the bottom of the page to paste that code into the Google Tag Manager field.
- Click Save.
After completing these steps, data from your site will be sent to Google.
Google Tag Manager on select microsites
NOTE: This section is only for customers who license our optional Microsites module.
If you're only looking to apply Google Tag Manager tracking to one specific microsite and not all of your sites, simply follow steps 1-25 above, then go into the first page of Site Setup. Scroll to the bottom of the page and you'll see a field for your Google Tag Manager code. Paste it in there, then click Finish to save it.
The decision to segment out individual microsite data really varies by organization; if you want all the data in one bucket and find it more efficient to sort that way as one user, then that's the best option for you. If you'd rather have multiple accounts sectioned out and pull the data per microsite without mixing the data with other microsite data, that can be more effective based on your management setup. In this case, there is no set best practice, but rather the best setup is whatever makes you and/or your team most efficient.
Google Tag Manager custom configurations
For more ideas about what you can measure and accomplish with Google Tag Manager, check out the Google Tag Manager documentation section.
Because this is a third-party software, a segment of our customers who are looking for increased customization have hired consultants to help them with more advanced Google Tag Manager configurations, and while we recommend this, we don't currently have any vendors we endorse for this service. If you're looking to know who other customers have used, we recommend posting in our Higher Logic Thrive Community Product community in our Higher Logic User Group (HUG).
How to set up Universal Analytics
IMPORTANT: Google has announced the sunsetting of Universal Analytics (effective July, 2023) in favor of Google Analytics 4 (GA4). Refer to Google Analytics 4 (GA4) set up, above, for the set-up steps.
- Follow Google's instructions to set up a Google Analytics account.
- Take note of your Google Analytics Tracking ID. We recommend copying this into Notepad or keeping the tab with it open for use later.
- Go to https://www.google.com/analytics/tag-manager/use-policy and click the Sign In button in the upper-right corner.
- Click on Google Tag Manager.
- Log in with the same credentials you use to get into your Google Analytics account.
- Click Create Account.
- Enter Account Name.
- Click Continue.
- Enter Container Name.
- Select Web.
- Click Create.
- Click Yes in the upper right.
- Click OK in the resulting pop-up.
- Click the Tags section of the menu on the left side of the page.
- Click NEW to create a new tag.
- Click the gray circle under Tag Configuration to configure your tag.
- Under Choose Tag Type, click on Universal Analytics.
- Under Google Analytics Settings, select New Variable from the dropdown.
- Paste your Google Tracking ID into the Tracking ID field. Click Save.
- In the Rename Variable pop-up, click Save.
- Click the gray circle under Triggering and select All Pages.
- Save.
- In the Rename Tag pop-up, click Save.
- Click the SUBMIT button in the upper-right corner.
- Click PUBLISH in the upper-right corner.
- Skip the Container Version Description.
- Click the Workspace link in the upper-left corner.
- Copy the GTM code in the Workspace area, highlighted below.
- Log in to your Community site as a Super Admin.
- Navigate to Admin > Pages > Design > Advanced Settings and scroll to the bottom of the page to paste that code into the Google Tag Manager field.
- Click Save.
After completing these steps, data from your site will be sent to Google.