Learning a new skill, like Google Analytics 4, is daunting. Add to this the fact that there’s a looming due date, and you can’t pay for to be dragging your feet on getting started.
I’m sharing an easy-to-follow novices guide for setting up GA4 using Google Tag Manager to get you up and running.
In it, we’ll take a look at how Google Tag Manager works, followed by a simple five-step GA4 setup tutorial with images.
Google Tag Supervisor Defined
Google Tag Manager (GTM) is a free tag management option that allows you to add and modify sectors of code (tags) that collect and send data to Google Analytics.
For example, “back then,” online marketers would get a sector of code from a third-party supplier– like Buy Facebook Verification Ads.
This code would gather and send out info about how users from Buy Facebook Verification Advertisements engaged with the website back to Buy Facebook Verification.
Site owners and marketers relied heavily on designers to install the code straight on the site.
However if we use Google Tag Supervisor, all we need to do is place one bit of code on the website, which container acts as an intermediary between your website and third-party vendors.
Any tags we require to include or edit can be changed from within the GTM user interface.
Aside from ease of use, the significant advantage is condensed code and a much faster website.
Distinction Between Google Tag Supervisor And Google Analytics
Google Tag Supervisor (GTM) and Google Analytics (GA) are entirely different tools that collaborate to get you the information you require to make wise marketing decisions.
Google Tag Supervisor is used for saving and managing the code– it is actually a container.
There are no reporting functions and no alternative to evaluate information within the tag supervisor.
Google Analytics is used for information analysis.
All reporting– user reports, conversions and engagement, sales, etc– can be viewed within Google Analytics.
To comprehend why you need GTM in addition to Google Analytics, you need to understand how GA gets the information you see in reports.
Getting Started With Google Tag Manager
At a high level, the primary steps to getting going with Google Tag Manager are creating an account, installing the container on your website, and adding tags (like the GA4 setup tag) to collect and send the details you require.
Listed below, we will stroll through each action for getting going with Google Tag Supervisor.
Think About Account Management
First, you’ll need to choose how account management will be handled.
Should somebody change roles or leave your company, you wish to keep the work took into establishing your analytics.
It is best practice to produce the Tag Supervisor account using the login qualifications of the person handling the account in the long term (more than likely the website owner).
Suggestion for handling customer accounts: If a customer can not produce a Tag Manager account themselves, hop on a video call where you can manage their screen and walk through each step.
After developing a Tag Supervisor account, you can include users and set authorizations within the Adminscreen in the leading navigation.
Create A Google Tag Supervisor Account
Below are guidelines for producing a Google Tag Manager account. This will take roughly three minutes.
Login to Tag Manager (Tag Supervisor tends to work best in Chrome) and click Produce an account.
Enter an account name; this is typically the organization’s name.
A Tag Supervisor account represents the organization’s upper level, suggesting only one account is required per business.
A company with several sites with different profits channels can develop different containers under the same GTM account.
Select a Nation and whether you want to share data to improve Google items.
Go into a Container Call. Choose a detailed container name for internal usage, frequently the site URL or name of the app.
Select the Target Platform. Are you developing a represent a site (Web), app (iOS, Android), AMP, or Server?
Your final screen will look similar to the example listed below. Click Develop.
Screenshot from Google Tag Supervisor, October 2022 After this screen, you will be prompted to install your brand-new GTM code. Click OK to clear this dialog, or follow the install directions. After closing out of the snippet dialog
box, you will be on the work area screen, where you will be
producing your marketing tags and activates. Set Up Google Tag Supervisor On Your Website If you close the web container installation dialog box, you can discover instructions to set up Google Tag Supervisor
within the Admin tab. Instructions for setup will appear like this:
Screenshot from Google Tag Manager, October 2022 Analyzing the container code will help you understand how Google Tag Manager works. In the first part, highlighted in yellow, you will see.
This loads your GTM container on your page. It likewise informs your website
This no-script tag is your backup. It tells the internet browser to render an iframe version of the GTM Container to the page
as it remains in the area? The answer is yes; the placement of the GTM container truly does matter. Google Tag Manager isnot dependent
If you plan on using GTM to confirm Google Browse Console, you will need both tags positioned as Google suggests; otherwise, verification will stop working. Suggestion for handling customer accounts: When multiple marketing companies have actually worked on a website, there tend to be various marketing tags. You can check for additional tags using Google Tag Assistant (legacy).
Remove any additional tags on the website because deploying tags twice will trigger inaccurate data. Establishing Google Analytics 4 With GTM: Step-By-Step Google Tag Manager makes establishing Google Analytics 4 easy. There are only three actions: creating a trigger, producing a tag, and testing your setup
. The whole process will take less than 5 minutes to finish
. Please note: If you have not set up GTM on your website yet, scroll up and complete the section above titled “Beginning With GTM.”1. Develop GA4 Trigger In GTM The trigger you develop in GTM tells the tag( section of code )under which scenarios to gather the data. To produce a trigger, open your Google Tag Supervisor account and click Triggers in the left-hand navigation. Then hit the blue New button to create a brand-new trigger. Name your Trigger
: Page View– All. Click within the Trigger Configuration box and pick Page View as the trigger key in the right-hand
menu. You desire this trigger to fire on All Page Views. Your final screen will look like the screenshot below. Click Conserve.
Screenshot from Google Tag Manager, October 2022 Step 1 is total! You have created a guideline that informs Google Tag Supervisor to release tags related to the Page View– All set off when a page(any and all pages)on your site is viewed. 2. Develop GA4 Tag In GTM To send this info to GA4, we need to create a tag informing GTM what to do with the page-view information it captures. To create a tag, open Tags in the left-hand navigation and click the blue New button. Call your tag” GA4
Config.” Click within the Tag Configuration box and select Google Analytics: GA4 Setup from the right-side menu under featured tag types, highlighted in the example listed below.< img src= "// www.w3.org/2000/svg%22%20viewBox=%220%200%201197%20574%22%3E%3C/svg%3E" alt ="GA4 GTM Tag Setup screenshot example "width= "1197"height= "574 "data-src="https://cdn.searchenginejournal.com/wp-content/uploads/2021/02/ga4-and-gtm_tag-configuration-602c140e81699.png"/ >
Screenshot from Google Tag Manager,
October 2022 Enter your GA4 Measurement ID. Click within the Triggering box and choose the trigger you made in the previous action, Page View– All trigger. Your completed GA4 setup tag will appear like the image below. Click Conserve. Screenshot from Google Tag Manager, October 2022
Where To Discover GA4 Measurement ID Hold on– what is a Measurement ID, and where can I find it? To discover your special Measurement ID open your GA4 Home. Click the equipment icon in the lower left-hand corner to get in the Admin section.
Suggestion for managing client accounts: If you can not open the Admin section of the GA4 account, that is due to the fact that you do not have admin authorizations on the account. Keep in mind to set up GA4 under the owner’s email address, not your own.
Within the Admin section, find the home column and open Data Streams.
Screenshot from Google Tag Supervisor, October 2022 Select your information stream, and you will see the associated Measurement ID in the leading right corner; it will look like G-A2ABC2ABCD. Screenshot from Google Tag Manager, October 2022 3. Publishing A GTM Container After you have actually added the Page View
— All Pages trigger and GA4 Configuration tag, you need to publish your container to make the additions live. To release a container, click the blue button Send in the top right corner of the
Google Tag Manager Work Space. Screenshot from Google Tag Supervisor, October 2022 4. Checking GA4 Setup In GTM Information can take a day or more to begin appearing in GA4.
To check your setup, click Previewwithin Tag Manager, enter your website’s URL, and click Connect.
Your site will open in another tab, and you should see that the GA4 Config tag has fired.
Click on the fired GA4 Config tag and make sure that you are sending out the page-view occasion to the correct GA4 account by confirming the Measurement ID.
Screenshot from Google Tag Manager, October 2022 GA4 Occasions Hooray! You have successfully
added the GA4 setup tag to your site. This one tag (GA4 configuration tag
)will set Google Analytics cookies for your property and immediately send out some events to your analytics account. Automatically gathered occasions are simple to toggle on and
off within the Google Analytics 4 interface. Because this is a novice’s guide, we will be focusing on finest practices and
terms to assist you use the different types of GA4 occasions offered. Producing An Analytics Technique And Application Strategy The very best practice is to have an analytics technique and tag implementation strategy. I promise producing this strategy
is not as complicated as it sounds. Take a seat with the marketing team, material group, and decision-makers at your company to have a discussion about what information
you require to gather. If you don’t know what information you require to collect, start by developing an SEO objective pyramid. Screenshot from Ahrefs, October 2022 Simply put, you will specify your overall SEO objective, what efficiency objectives will get you closer to accomplishing this goal, and which process objectives are 100% within your control.
What occasions do you need to track on your site to measure whether you are attaining the goals you drew up above?
Now, identify all the tags you have released on your website (I utilize a spreadsheet for this step). If this is a new GTM account, you will not have any yet, and that’s ok!
Making the effort to complete an SEO goal pyramid and drawing up your occasion tags will make sure that you cover everything you need to make clever marketing decisions.
Understanding The Kinds Of Events Offered
There are 3 fundamental kinds of occasions you’ll work with in Google Analytics 4 and GTM: immediately gathered occasions, improved measurement occasions, and custom events.
Below you will discover what kinds of occasions fall under each classification.
- Instantly Collected Events are gathered … well, automatically; you will not need to do anything additional to gather a user’s first go to, page views, or session start.
- Improved Measurement supplies events you can toggle on and off within Google Analytics 4 web stream information.
Screenshot from Google Analytics 4, October 2022 No code modifications are needed to catch scroll events, outgoing clicks, site search info, video engagement, and file downloads
. Customized Events can determine anything that’s not instantly gathered or a suggested event. In GA4, custom-made dimensions are
- restricted to 50 event-scoped and 25 user-scoped customized measurements. Last Thoughts This newbie’s guide to Google
Tag Manager and GA4 merely scratches the surface area of what analytics can do for your company.