input license here

How to set up Google Analytics in WordPress


how-to-design-google-analytics-in-wordpress

How to set up Google Analytics in WordPress - In this article, we will cover how to set up Google Analytics in WordPress. But first, here are some reasons why you should do such a thing.

Google Analytics is one of the best tools for you to learn more about who your website visitors are, where they come from and what they are looking for when they arrive on your site. This is an invaluable tool for determining what type of content to focus on publishing on your blog and, best of all, it's free.

In many ways, setting up Google Analytics in a WordPress site is even easier than manually coding a website. Because you can use a plugin, there is no need to mess with your website code and once it is properly configured, you will probably work much better.

This tutorial will teach you everything you need to know to get started with this powerful free tool, how to set up Google Analytics in WordPress and test it to make sure it works well.

Benefits of using Google Analytics with WordPress


Once you've completed a few simple steps, you'll be able to discover loads of information about your site and its visitors. This includes how people find your site, how many pages they view per visit, what your most popular content is, and more.

You can also set up goals in Google Analytics, such as downloading files, signing up for newsletters, or selling products, then measuring the performance of your website against those goals. You will be equipped with all this data, then you can start working to optimize your website for better results, regardless of the purpose of your website.

How to set up Google Analytics in WordPress


By the end of this article, you will know exactly how to set up Google Analytics in WordPress. The process is much easier than you think and after you finish, you should be able to know your site and your visitors more.


  1. Create a Google Analytics account

The first thing you need to do to take advantage of this tool is to create a Google Analytics property for your website. If you do not already have a Google Analytics account, you will create one during the sign up process.

Visit the Google Analytics homepage and click Sign up. Sign in with your Google account.

how-to-design-google-analytics-in-wordpress

From there, you will be taken to the account setup screen.

For your account name, you can use your name or your company name. You can track multiple websites on the same account, this makes it easier if you own several different websites.

how-to-design-google-analytics-in-wordpress

You will then fill in details for your new property, which is the site you want to track. Enter the name, URL, industry and time zone of your website and click "Get Tracking ID"

After you accept the terms and conditions, you will be taken to a screen where you will see your tracking ID, a series of numbers starting with the letter "UA." Hold on to this ID, continue. Follow the steps below to set up Google Analytics in WordPress.


  1. Install the Google Analytics plugin with MonsterInsights

Now that you have your tracking ID, you will need to install a plugin that will automatically add the tracking code to your website. I recommend the Google Analytics plugin by MonsterInsights because this is the most popular and most actively maintained plugin of this type, plus it makes it easy to set up Google Analytics in WordPress.

how-to-design-google-analytics-in-wordpress

MonsterInsights Google Analytics Dashboard Plugin

To add it to your site, search for it by name in Plugins / Add New. When you find the right plugin, click the Install button now.

WordPress will go through plugin installation process. Once done, click on "Activate Plugin" to enable it.


  1. Configure the plugin

Now that you have installed and activated the Google Analytics plugin, you need to configure it so that it will contact your Google Analytics account. You can do this by clicking on its Password Settings link on the Plugin page or you can go through the left menu bar and navigate to Insight / Settings.

how-to-design-google-analytics-in-wordpress

From the main page of the plugin settings, click the button with authenticated content with your Google account.

how-to-design-google-analytics-in-wordpress

This will display a window asking for permission to connect with your Google account. Click on Allow.

how-to-design-google-analytics-in-wordpress

On the next screen, you will see a long series of random characters. Copy and paste this code into the highlighted box again in the WordPress tab. Click Save captcha.

how-to-design-google-analytics-in-wordpress

The installation screen will refresh, including the drop down. In that drop down list, select the Google Analytics property you just created. The tracking ID must match the UA code you created in step one. Click "Save changes".

how-to-design-google-analytics-in-wordpress

Congratulations, you have officially set up Google Analytics in WordPress! Now test it to make sure it works correctly.


  1. Check out Google Analytics

There are several ways to check that you have set up Google Analytics in WordPress properly, but so far, the easiest way is to test it in Real-Time Anlytics.

If you are still on the Admin screen in your Google Analytics, click Google “Reporting” at the top of the screen to go to the Google Analytics section with tracking data. In the left menu, click "Real - Time" to expand the submenu, then click "Overview".

If you want to set up Google Analytics in WordPress for a brand new website, chances are you have 0 existing visitors, which is not really helpful for trying to know if your tracking code is working. exactly or not.

By default, the Google Analytics by MonsterInsights plugin will not track visits from the Admin or Editor who is logged in. This is the setting I recommend leaving it as, since tracking your own visits to your site can obscure the data you want. However, it also means that if you try to access your own site in the same browser, your visits will not be counted.

To resolve this issue for testing purposes, open your site in another browser and click through one or two pages to register your visit in Google Analytics. If everything is working as usual, right after doing this, Real-Time Analytics will show a visitor on your site.

how-to-design-google-analytics-in-wordpress

If you still don't see visitors on your site, try opening your site in another browser or clicking the button in plugin settings to authenticate with your Google account to try again.

Conclude


Now that you have created the Google Analytics property for your website, installed and configured the plugin and tested it, you can rest assured that you are capturing the data you need about your users and that you've Successful setup of Google Analytics in WordPress.

Google Analytics is an invaluable tool for any blogger who wants to understand their audience and increase their traffic, so it's ideal if you get up and running as soon as possible. In fact, it's one of the first things you should set up on a new blog.

There are several other popular Google Analytics plugins, all of which work similarly. Just make sure you don't install more than one or you can track each visitor twice, it artificially increases your visitors.

Related Posts
Diệp Quân
Nguyen Manh Cuong is the author and founder of the vmwareplayerfree blog. With over 14 years of experience in Online Marketing, he now runs a number of successful websites, and occasionally shares his experience & knowledge on this blog.
SHARE

Related Posts

Subscribe to get free updates

Post a Comment

Sticky