HOW TO ADD GOOGLE ANALYTICS TO WORDPRESS

0
49

In this post, I will use Google Analytics for WordPress by MonsterInsights. It is the most popular plugin in the directory and also easy to use and comes with a module that helps make it GDPR compliant (unfortunately, only in the premium version).

Let’s get started

1. Install the Plugin

Goto WordPress admin page, select Dashboard, navigate to Plugins, Click on Add New. Search for it by name “google analytics” .

Quickly, hit Install Now to start downloading it to your site. Activate when it’s done.

2. Connect to Google Analytics

When the plugin is active, you will find a new menu item called “Insights” on your dashboard. Click on it and go to the “Settings” menu.

Click on “Authenticate with your Google account”. This will redirect you to the Google Analytics page. You will be asked to sign in or, if you already are, to select the account you want to use for tracking.

Once you’re logged in, Google Analytics will ask you to give permission for the WordPress plugin to access your data.

This is necessary for it to work, make sure you allow it. After that, you still need to select the profile you want to track. Select the one you created earlier and complete the authentication when you have done so.

That’s it! You will be directed back to your site. You have successfully set your google analytics

ALTERNATIVE METHOD TO ADD GOOGLE ANALYTICS TO YOUR WORDPRESS

To add Google Analytics to your WordPress site with this plugin. You can also enter your tracking UA code manually. For that, simply click on “Click here to authenticate manually”.

You will find your UA code as the tracking ID in your Google Analytics account.

Copy and paste it in the field in the plugin settings. Then save your changes. Done!

Just be aware that you are not able to use the MonsterInsights reports in your WordPress back-end this way.

3. Adjust Tracking Settings

Once  you are connected, you can click on the “Tracking” tab on top to make changes for how the app tracks your visitors.

Let’s cover the most important quickly:

  • Engagement — Options to let you ignore site users by user role and enable event tracking (meaning clicks on the links)
  • Demographics — Switch on demographics and interest reports. More importantly – it’s where you can switch on IP anonymization.
  • Permissions — Let’s you control who on your site can view the reports and change settings, whether you want the plugin to update automatically, track usage statistics and display announcements.

There are a few more minor things you can change e.g handling affiliate links and more. Unfortunately, the majority of options are part of the premium version of the plugin.

4. Check the Reports

The cool thing about MonsterInsights is not only that it’s easy to use but also that it pulls Google Analytics data directly into the WordPress dashboard. You can see it under “Insights > Reports”.

Be aware, that it takes a while for Google to display any data. Therefore, this part might be empty at the moment just like in your Google Analytics account. Generally, it takes 12-24 hours before data starts appearing, simply check back later.

See more;

HOW TO SIGN UP FOR GOOGLE ANALYTICS.

LEAVE A REPLY

Please enter your comment!
Please enter your name here