Do you want to understand how visitors interact with your website and make better decisions based on real data? Tracking your website with Google Analytics and Google Tag Manager allows you to collect detailed insights about user behavior, helping you improve your site and grow your business.
In this article, we’ll show you how you can track your website data with Google Analytics and Google Tag Manager.
- Understanding Google Analytics and Google Tag Manager
- Creating a Google Analytics Account
- Creating a Google Tag Manager Account
- Adding the Code to Your Website
Understanding Google Analytics and Google Tag Manager
Google Analytics helps you track what’s happening on your website. When you use it with other tools like Google Tag Manager, you can learn more about your visitors and how they use your site. To get a quick gist of Google Analytics 4, we recommend you to read the article here.
Google Tag Manager is a tool that lets you add and manage tracking tags on your website without touching your site’s main code.
With Google Tag Manager, you can control all your tags in one place. You can also view reports about your website’s activity from there.
Usually, you would need to add lots of tracking codes to your site. But with Google Tag Manager, you only need to add one piece of code (called a container) to handle all your tags.
Creating a Google Analytics Account
To get started, you need to have a Google Analytics account – so, create one, or simply sign in if you already have an account.
Next, you have to set up a property and a reporting view in your account.
- Creating a Property
- Setting Up a Reporting View
Creating a Property
A property in Google Analytics 4 is a piece of your website or app that you want to track. It collects all the data for that specific site or app.
To create a property, you just go to your Google Analytics account, click “Admin,” and then follow the steps to add a new property. Here’s a document that will help you.
Setting Up a Reporting View
Overview reports in Google Analytics 4 show you a quick summary of your website’s key data, like how many visitors you have, where they come from, and what they do on your site. These reports make it easy to see important trends at a glance.
To learn more about creating an overview report in Google Analytics, refer to the document here.
Creating a Google Tag Manager Account
To get started, go to the Google Tag Manager website, where you can create a new account, and follow the steps. This is where you’ll have to add your website details, then Google Tag Manager will give you some code to place on your website.
To know more, read the document here.
The next step after creating a Google Tag Manager account is to install a web container.
After installing a web container, create a Google tag in your Tag Manager account.
Finally, verify and publish the tags you’ve created.
Adding the Code to Your Website
With Thrive Themes on your website, you’ll be able to easily add the code.
To do so, first open your WordPress admin area, navigate to Thrive Dashboard >> Thrive Dashboard, and scroll to Analytics & Scripts, and click on Manage Scripts.

Clicking to manage the scripts on your website, you’ll be taken to the Analytics and Scripts page in Thrive Themes where you’ll see the scripts you might have added – and a button to help you add new scripts to your website.

To know how you can add a script to a website, refer to our document here.
We’ve just seen how you can create and set up your Google Analytics and Google Tag Manager account and add the code to your website through the Analytics and Scripts section in Thrive Themes.
Next, here are a couple of documents you may want to refer to: