Google Tag Manager: A GA4 Beginners Guide

Posted by

Learning a new ability, like Google Analytics 4, is intimidating. Add to this the fact that there’s a looming deadline, and you can’t pay for to be dragging your feet on beginning.

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 pictures.

Google Tag Manager Defined

Google Tag Supervisor (GTM) is a totally free tag management service that allows you to include and edit sectors of code (tags) that gather and send information to Google Analytics.

For instance, “in the past,” online marketers would get a section of code from a third-party supplier– like Buy Facebook Verified Advertisements.

This code would gather and send out info about how users from Buy Facebook Verified Advertisements engaged with the website back to Buy Facebook Verified.

Site owners and online marketers relied heavily on developers to set up the code directly on the site.

However if we use Google Tag Supervisor, all we require to do is put one snippet of code on the website, which container functions as a middleman between your website and third-party suppliers.

Any tags we need to include or edit can be adjusted from within the GTM interface.

Aside from ease of use, the significant advantage is condensed code and a much faster site.

Difference In Between Google Tag Supervisor And Google Analytics

Google Tag Supervisor (GTM) and Google Analytics (GA) are totally various tools that interact to get you the data you require to make wise marketing choices.

Google Tag Manager is used for keeping and handling the code– it is actually a container.

There are no reporting features and no choice to evaluate information within the tag supervisor.

Google Analytics is utilized for information analysis.

All reporting– user reports, conversions and engagement, sales, and so on– can be seen within Google Analytics.

To comprehend why you need GTM in addition to Google Analytics, you need to understand how GA gets the data you see in reports.

Google Analytics can report on traffic acquisition and user interactions, thanks to the assistance of a tracking code– technically a “GA Javascript code snippet” or “gtag.js.”

When an interaction occurs on your site– a pageview, for example– the Javascript snippet tells Google Analytics.

Getting Going With Google Tag Supervisor

At a high level, the primary actions to getting started with Google Tag Supervisor are developing an account, setting up the container on your site, and including tags (like the GA4 configuration tag) to collect and send the information you require.

Below, we will stroll through each step for getting going with Google Tag Supervisor.

Think About Account Management

First, you’ll need to choose how account management will be managed.

Should somebody modification functions or leave your company, you wish to retain the work put into establishing your analytics.

It is finest practice to develop the Tag Manager account utilizing the login credentials of the person managing the account in the long term (probably the website owner).

Pointer for handling client accounts: If a customer can not produce a Tag Manager account themselves, get on a video call where you can manage their screen and walk through each action.

After producing a Tag Supervisor account, you can add users and set consents within the Adminscreen in the leading navigation.

Produce A Google Tag Manager Account

Below are guidelines for producing a Google Tag Supervisor account. This will take roughly 3 minutes.

Login to Tag Supervisor (Tag Supervisor tends to work best in Chrome) and click Develop an account.

Enter an account name; this is frequently the company’s name.

A Tag Manager account represents the company’s topmost level, meaning just one account is required per business.

A business with several websites with separate profits channels can produce separate containers under the same GTM account.

Select a Country and whether you ‘d like to share data to improve Google items.

Go into a Container Name. Choose a detailed container name for internal use, most often the website URL or name of the app.

Select the Target Platform. Are you producing an account for a website (Web), app (iOS, Android), AMP, or Server?

Your last screen will look comparable to the example listed below. Click Produce.

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 set up instructions. After closing out of the snippet dialog

box, you will be on the workspace screen, where you will be

producing your marketing tags and sets off. Install Google Tag Manager On Your Site If you close the web container setup dialog box, you can discover instructions to set up Google Tag Manager

within the Admin tab. Instructions for installation will appear like this:

Screenshot from Google Tag Supervisor, October 2022 Taking a look at the container code will help you comprehend 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 site

This no-script tag is your backup. It tells the web browser to render an iframe variation of the GTM Container to the page

, enabling you to still track users when JavaScript is handicapped. A common concern while setting up the GTM container is: Does positioning actually matter as long

as it is in the section? The answer is yes; the positioning of the GTM container actually does matter. Google Tag Supervisor is not dependent

on any plugins; it runs in raw JavaScript. Positioning the container snippet as high in the as possible enhances accuracy. Putting the snippet lower on your page may lead to inaccurate information. And do not avoid the 2nd part; it needs to be positioned straight after your tag.

If you intend on utilizing GTM to confirm Google Search Console, you will need both tags put as Google advises; otherwise, verification will stop working. Pointer for handling client accounts : When multiple marketing agencies have dealt with a site, there tend to be many marketing tags. You can look for additional tags using Google Tag Assistant (tradition).

Get rid of any extra tags on the website since releasing tags twice will cause unreliable data. Establishing Google Analytics 4 With GTM: Step-By-Step Google Tag Manager makes setting up Google Analytics 4 easy. There are only 3 steps: developing a trigger, creating a tag, and screening your setup

. The entire process will take less than 5 minutes to complete

. Please note: If you have not installed GTM on your website yet, scroll up and finish the section above entitled “Starting With GTM.”1. Develop GA4 Trigger In GTM The trigger you produce in GTM informs the tag( section of code )under which situations to gather the information. To produce a trigger, open your Google Tag Supervisor account and click Triggers in the left-hand navigation. Then strike the blue New button to produce a 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 appear like the screenshot listed below. Click Save.

Screenshot from Google Tag Manager, October 2022 Action 1 is total! You have developed a guideline that tells Google Tag Manager to release tags related to the Page View– All activate when a page(any and all pages)on your website is viewed. 2. Create GA4 Tag In GTM To send this information to GA4, we need to produce a tag informing GTM what to do with the page-view data it catches. To produce a tag, open Tags in the left-hand navigation and click the blue New button. Name your tag” GA4

Config.” Click within the Tag Setup 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 Configuration 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 select the trigger you made in the previous action, Page View– All trigger. Your finished GA4 setup tag will appear like the image listed below. Click Save. Screenshot from Google Tag Manager, October 2022

Where To Find GA4 Measurement ID Hold on– what is a Measurement ID, and where can I discover it? To find your special Measurement ID open your GA4 Residential or commercial property. Click the equipment icon in the lower left-hand corner to go into the Admin area.

Suggestion for handling customer accounts: If you can not open the Admin area of the GA4 account, that is because you do not have admin approvals on the account. Keep in mind to set up GA4 under the owner’s e-mail address, not your own.

Within the Admin section, find the residential or commercial property column and open Information 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 appear like G-A2ABC2ABCD. Screenshot from Google Tag Supervisor, October 2022 3. Publishing A GTM Container After you have added the Page View

— All Pages trigger and GA4 Setup tag, you need to release your container to make the additions live. To release a container, click the blue button Submit in the top right corner of the

Google Tag Manager Workspace. Screenshot from Google Tag Manager, October 2022 4. Checking GA4 Configuration In GTM Data can take a day or more to start appearing in GA4.

To test your setup, click Previewwithin Tag Supervisor, enter your website’s URL, and click Connect.

Your site will open in another tab, and you need to see that the GA4 Config tag has actually fired.

Click on the fired GA4 Config tag and make sure that you are sending the page-view event to the appropriate GA4 account by double-checking the Measurement ID.

Screenshot from Google Tag Manager, October 2022 GA4 Occasions Hooray! You have effectively

added the GA4 setup tag to your website. This one tag (GA4 setup tag

)will set Google Analytics cookies for your property and instantly send some events to your analytics account. Instantly collected events are simple to toggle on and

off within the Google Analytics 4 user interface. Because this is a newbie’s guide, we will be focusing on finest practices and

terminology to help you use the various types of GA4 occasions readily available. Producing An Analytics Method And Application Plan The very best practice is to have an analytics method and tag execution plan. I promise creating this strategy

is not as complicated as it sounds. Sit down with the marketing team, material team, and decision-makers at your business to have a conversation about what info

you require to gather. If you do not know what information you require to collect, begin by creating an SEO objective pyramid. Screenshot from Ahrefs, October 2022 In other words, you will specify your overall SEO goal, what efficiency goals will get you closer to accomplishing this goal, and which procedure objectives are 100% within your control.

What occasions do you require to track on your site to measure whether you are attaining the objectives you drew up above?

Now, recognize all the tags you have actually 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!

Taking the time to complete an SEO goal pyramid and mapping out your occasion tags will ensure that you cover everything you need to make smart marketing decisions.

Comprehending The Types Of Events Available

There are 3 basic types of occasions you’ll work with in Google Analytics 4 and GTM: automatically collected events, improved measurement occasions, and custom-made occasions.

Listed below you will discover what kinds of events fall under each category.

  • Automatically Gathered Occasions are gathered … well, instantly; you will not need to do anything additional to collect a user’s first visit, page views, or session start.
  • Improved Measurement provides events you can toggle on and off within Google Analytics 4 web stream details.

Screenshot from Google Analytics 4, October 2022 No code modifications are needed to capture scroll events, outgoing clicks, website search details, video engagement, and file downloads

. Custom-made Occasions can determine anything that’s not automatically gathered or a recommended occasion. In GA4, custom-made dimensions are

  • restricted to 50 event-scoped and 25 user-scoped customized dimensions. Final Thoughts This newbie’s guide to Google

Tag Manager and GA4 simply scratches the surface of what analytics can do for your company.

Even if you’re not a developer, I highly recommend reading Google Tag Supervisor’s Designer Guide. More Resources: Included Image: Merkushev Vasiliy/Best SMM Panel