How to add Google Analytics to WordPress

Follow us
Looking for a guide to connect your Google analytics dashboard data to WordPress? Then you’re at the right place.

Before heading to the installation part, let’s understand what is Google Analytics. 

Google Analytics is a free Web analytics service offered by Google to analyze your website traffic. It shows you the overview of the audience, real-time traffic data, traffic source, active users, the behavior of your website, and many more. This tool is best for search engine optimization (SEO) and marketing purposes. 

Now begin with the installation.


Step 1: Creating the Google Analytics account 
  • Click on Sign in to Analytics
How to add Google Analytics to WordPress
a] Google Analytics home page
  • Now, it will view the Signup option for the Analytics account. Click on the Sign Up link
How to add Google Analytics to WordPress
a] Google Analytics Page
  • On the New Account creation page, you will see the Setting up your account and Data sharing settings tabs. Just fill the details as per given in the screen and click on Get Tracking ID button.
How to add Google Analytics to WordPress
a] Create Account: Setting up your account
How to add Google Analytics to WordPress
b] Create Account: Data Sharing Settings
  • Accepts the Google Analytics Terms of Service Agreement.
How to add Google Analytics to WordPress
a] Accept the License Aggreement
  • Hurray! Now you have successfully signed up the analytics account. Now it’s time to install the plugin in the WordPress dashboard.
Step 2: Installing the Google Analytics Plugin in WordPress Dashboard
  • Go to WordPress Dashboard -> Plugins -> Add New option. Now you will see the add new window.
How to add Google Analytics to WordPress
a] Navigate to Add New
  • In the search bar, type google analytics dashboard. Please refer the below screenshot to verify the correct plugin. Install the searched Google Analytics Dashboard for WP by ExactMetric plugin and activate it.
How to add Google Analytics to WordPress
a] Add Plugins window
Step 3: Connect the plugin to Analytics account
  • After a successful plugin installation, you will get to see the Google Analytics option in WordPress Dashboard panel. Go to Google Analytics -> General Settings
How to add Google Analytics to WordPress
a] Google Analytics menu
  • In Google Analytics settings, Authorize the plugin by allowing the access permission from your Google account.
How to add Google Analytics to WordPress
a] Authorise the Plugin
How to add Google Analytics to WordPress
b] Give access to Google Analytics
  • Click on Get Access Code. Get the access code from google and click on Save access code.
How to add Google Analytics to WordPress
a] Get Access Code
How to add Google Analytics to WordPress
b] Copy the Access Code
How to add Google Analytics to WordPress
c] Paste Access Code and Save it
  • After this, you will be able to see the General settings,  Automatic updates options. Just click on the Save Changes button.
How to add Google Analytics to WordPress
a] Saving General Settings
  • Congratulations!! You have successfully connected your Analytics tool to your WordPress site.
Step 4 : Now it’s time to see the statistics.
  • In the WordPress dashboard, go to Dashboard -> Home. Go down and check your site statistics in Google Analytics Dashboard.
How to add Google Analytics to WordPress
a] Dashboard Home
How to add Google Analytics to WordPress
b] Google Analytics Dashboard
  • For moreover, if you want to see the more detailed statistics then visit the google analytics dashboard. Here, you will get a detailed view.
How to add Google Analytics to WordPress
Google Analytics Dashboard