Google Tag Manager: A GA4 Beginners Guide

Posted by

Learning a new skill, like Google Analytics 4, is daunting. Add to this the reality that there’s a looming deadline, and you can’t afford to be dragging your feet on getting going.

I’m sharing an easy-to-follow newbies guide for setting up GA4 utilizing 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 solution that enables you to include and edit segments of code (tags) that gather and send out data to Google Analytics.

For instance, “back in the day,” online marketers would receive a section of code from a third-party vendor– like Buy Facebook Verified Advertisements.

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

Site owners and marketers relied greatly on designers to install the code straight on the site.

However if we utilize Google Tag Manager, all we need to do is position one bit of code on the site, which container acts as an intermediary in between your site and third-party suppliers.

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

Aside from ease of usage, the major benefit is condensed code and a much faster site.

Difference Between Google Tag Manager And Google Analytics

Google Tag Supervisor (GTM) and Google Analytics (GA) are entirely different tools that work together to get you the data you require to make smart marketing decisions.

Google Tag Supervisor is utilized for storing and handling the code– it is literally a container.

There are no reporting features and no option to examine data within the tag manager.

Google Analytics is utilized for data analysis.

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

To comprehend why you require 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 happens on your website– a pageview, for instance– the Javascript bit tells Google Analytics.

Getting Going With Google Tag Manager

At a high level, the primary actions to getting started with Google Tag Supervisor are producing an account, installing the container on your site, and adding tags (like the GA4 setup tag) to gather and send out the information you require.

Below, we will stroll through each step for getting started with Google Tag Manager.

Consider Account Management

Initially, you’ll require to choose how account management will be dealt with.

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

It is finest practice to produce the Tag Manager account using the login qualifications of the person managing the account in the long term (probably the site owner).

Tip for managing customer accounts: If a client can not develop a Tag Supervisor account themselves, hop on a video call where you can manage their screen and walk through each action.

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

Produce A Google Tag Manager Account

Below are guidelines for creating a Google Tag Supervisor account. This will take around three minutes.

Login to Tag Manager (Tag Manager tends to work best in Chrome) and click Create an account.

Go into an account name; this is frequently the organization’s name.

A Tag Supervisor account represents the company’s topmost level, indicating just one account is required per company.

A business with several websites with different profits channels can develop different containers under the same GTM account.

Select a Nation and whether or not you ‘d like to share data to enhance Google items.

Get in a Container Name. Pick a detailed container name for internal use, usually the website URL or name of the app.

Select the Target Platform. Are you creating a represent a website (Web), app (iOS, Android), AMP, or Server?

Your final screen will look similar to the example below. Click Produce.

Screenshot from Google Tag Manager, October 2022 After this screen, you will be triggered to install your new GTM code. Click OK to clear this dialog, or follow the install directions. After closing out of the bit dialog

box, you will be on the work space screen, where you will be

developing your marketing tags and sets off. Install Google Tag Supervisor On Your Website If you close the web container installation dialog box, you can find instructions to set up Google Tag Manager

within the Admin tab. Directions for setup will look like this:

Screenshot from Google Tag Supervisor, October 2022 Taking a look at the container code will help you understand how Google Tag Manager works. In the very first part, highlighted in yellow, you will see.

This loads your GTM container on your page. It likewise tells your website

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

, permitting you to still track users when JavaScript is handicapped. A typical question while installing the GTM container is: Does placement really matter as long

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

on any plugins; it runs in raw JavaScript. Placing the container bit as high in the as possible enhances accuracy. Putting the bit lower on your page may lead to inaccurate data. And don’t skip out on the second part; it requires to be positioned directly after your tag.

If you intend on utilizing GTM to confirm Google Search Console, you will require both tags put as Google recommends; otherwise, verification will fail. Idea for managing customer accounts : When numerous marketing firms have actually dealt with a website, there tend to be many marketing tags. You can look for extra tags using Google Tag Assistant (legacy).

Eliminate any extra tags on the site due to the fact that deploying tags two times will cause inaccurate information. Setting Up Google Analytics 4 With GTM: Step-By-Step Google Tag Supervisor makes establishing Google Analytics 4 easy. There are only three actions: producing a trigger, producing a tag, and screening your setup

. The whole procedure will take less than five minutes to finish

. Please note: If you have not installed GTM on your website yet, scroll up and finish the section above entitled “Getting going With GTM.”1. Develop GA4 Trigger In GTM The trigger you create in GTM informs 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 develop a new trigger. Name your Trigger

: Page View– All. Click within the Trigger Setup box and select Page View as the trigger type in the right-hand

menu. You desire this trigger to fire on All Page Views. Your last screen will appear like the screenshot below. Click Conserve.

Screenshot from Google Tag Manager, October 2022 Action 1 is total! You have actually developed a guideline that informs Google Tag Supervisor to release tags connected with the Page View– All activate when a page(any and all pages)on your website is seen. 2. Produce GA4 Tag In GTM To send this info to GA4, we need to create a tag telling GTM what to do with the page-view data it records. To develop a tag, open Tags in the left-hand navigation and click the blue New button. Call your tag” GA4

Config.” Click within the Tag Setup box and select Google Analytics: GA4 Setup from the right-side menu under included tag types, highlighted in the example 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 Supervisor,

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 completed GA4 configuration tag will look like the image listed below. Click Conserve. Screenshot from Google Tag Supervisor, October 2022

Where To Find GA4 Measurement ID Hang on– what is a Measurement ID, and where can I find it? To discover your special Measurement ID open your GA4 Property. Click the gear icon in the lower left-hand corner to enter the Admin area.

Tip for managing customer accounts: If you can not open the Admin area of the GA4 account, that is because you do not have admin authorizations on the account. Remember to set up GA4 under the owner’s e-mail address, not your own.

Within the Admin section, discover the home column and open Data Streams.

Screenshot from Google Tag Manager, 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 Supervisor, 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 release your container to make the additions live. To publish a container, click the blue button Send in the top right corner of the

Google Tag Manager Work Area. Screenshot from Google Tag Manager, October 2022 4. Checking GA4 Setup In GTM Data can take a day or more to begin appearing in GA4.

To test your setup, click Sneak peekwithin Tag Manager, enter your website’s URL, and click Link.

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

Click on the fired GA4 Config tag and guarantee that you are sending the page-view occasion to the correct GA4 account by verifying the Measurement ID.

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

included the GA4 configuration tag to your site. This one tag (GA4 setup tag

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

off within the Google Analytics 4 user interface. Due to the fact that this is a newbie’s guide, we will be concentrating on finest practices and

terms to assist you utilize the different kinds of GA4 events available. Creating An Analytics Strategy And Execution Plan The very best practice is to have an analytics technique and tag execution plan. I assure producing this plan

is not as complicated as it sounds. Take a seat with the marketing group, material team, and decision-makers at your company to have a conversation about what details

you require to collect. If you do not know what information you need to gather, begin by producing an SEO goal pyramid. Screenshot from Ahrefs, October 2022 Simply put, you will define your general SEO goal, what efficiency objectives will get you closer to achieving this goal, and which procedure goals are 100% within your control.

What occasions do you need to track on your website to determine whether you are accomplishing the goals you mapped out above?

Now, recognize all the tags you have deployed on your site (I use a spreadsheet for this action). If this is a brand-new GTM account, you will not have any yet, which’s ok!

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

Comprehending The Types Of Occasions Offered

There are three standard types of occasions you’ll work with in Google Analytics 4 and GTM: automatically gathered occasions, boosted measurement occasions, and customized events.

Below you will learn what kinds of events fall under each classification.

  • Immediately Gathered Events are gathered … well, automatically; you will not need to do anything extra to gather a user’s very first go to, page views, or session start.
  • Enhanced Measurement offers occasions you can toggle on and off within Google Analytics 4 web stream details.

Screenshot from Google Analytics 4, October 2022 No code changes are needed to catch scroll events, outgoing clicks, site search information, video engagement, and file downloads

. Custom Events can determine anything that’s not immediately gathered or a recommended event. In GA4, custom-made measurements are

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

Tag Supervisor and GA4 merely scratches the surface of what analytics can do for your company.

Even if you’re not a developer, I extremely suggest checking out Google Tag Manager’s Developer Guide. More Resources: Featured Image: Merkushev Vasiliy/Best SMM Panel