How to Install Google Analytics in WordPress?

Google Analytics provides statistics and basic analytical tools for Search Engine Optimization (SEO) and marketing purposes. This is a web Analytic service. Also, it tracks website performance and collect visitors’ insights and uses a Javascript code in order to collect the information from the website. It records when a user views a page each time by using the Google Analytics code. And it is also used to track the activity such as session duration, bounce rate, pages per session of individuals using the website.

google_analytics

Sign up with Google Analytics:

To sign up with Google Analytics, you need a Gmail or Google account to start.

  • 1. If you have a Gmail account you can login with your Gmail account. If you don’t, then create a new account and log in to it.
  • 2. After login, you are taken to a page shown below
  • Then you have to give your account name. This name is used internally so you can use your business name.
  • 3. Then you have a choice to choose a web, apps or web and apps on the next screen. Select the web after that you are asked to enter the website name, website’s URL, country and time zone. Once you enter this information you need to agree the terms and service of google analytics by clicking the Agree button.
  • 4. Now you will have your Google analytics tracking code. You can copy the code and use it in your wordpress site.

Installation process:

There are different methods to install Google analytics in wordpress. Here we are going to discuss one of the methods. Use any one of the methods in order to avoid double tracking page view.

Google Analytics for WordPress by MonsterInsights

MonsterInsights is one of the popular google analytics plugins for wordpress. This plugin is widely used around 3 million websites like PlayStation, WPBeginner, Bloomberg and more. This plugin is available as a free plugin as well as a premium. You can use the MonsterInsights Pro version for advanced features like Ads tracking, eCommerce tracking, Author tracking, etc… Let’s see how to install the plugin.

First, you need to install the plugin and activate the plugin. After that, the plugin adds a new menu labeled ‘Insights’ to your WordPress admin menu. By clicking the menu you will direct to the MonsterInsights setup. In that you have to choose a category for your website (Business, blog or e-commerce) >> save and continue>> Connect MonsterInsights>> choose google account >> allow. Next, select your website to track >> Complete connection

Now, MonsterInsights will install Google Analytics on your website. Then, you have to select recommended settings for your website>> Save and continue. Next, MonsterInsights will show you the pro plugins if you want you can install it else you can skip this by clicking Save and continue. After that, you need to install the WPForms plugin. You can install it or skip this by clicking Save and continue. Now, your Installation is successfully completed.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.