Google Analytics is an immensely powerful tool that enables its users to gain invaluable insights into the behavior of their website’s visitors. Learning how to optimize Google Analytics for WordPress will let you know how users interact with your site and which goals you are failing to meet, and ultimately enable you to shape a unique marketing strategy for your whole online business.
Despite there not being a single official tool for integrating Google Analytics with WordPress, there are plenty of unofficial plugins which get the job done fantastically well.
This time around we’ll be taking a look at several of these plugins, and an extended peek under the hood of one in particular. Then we’ll guide you through the process of setting goals for your site. Are you ready to unleash the full potential of Google Analytics for WordPress? Let’s find out!
Step 1: Optimizing the Google Analytics by MonsterInsights plugin
This plugin enables you to track your stats easily with a metrics dashboard, activate demographics and interest reports, track your search result pages, and pretty much everything you’ve come to expect from Google Analytics – right from your WordPress dashboard.
Enabling demographic and interest reports
Demographic reports provide you with insights as to who your users are by segmenting them into specific categories according to their age, gender, and parental status.
Interest reports, on the other hand, enable you to categorize your audience according to their affinities for specific products, services, or – in our case – keywords.
To get started gathering this data, head over to your Google Analytics account, find the Reporting tab, then go to Audience >> Demographics >> Overview. There, you’ll see the following screen:
Hit the Enable button and we’re all set on this end – now it’s time to turn the feature on within the plugin as well.
Open your WordPress dashboard and locate the Insights tab, then go into its Settings screen. Check the Enable Demographics and Interests Reports for Remarketing and Advertising option as seen below:
Having done that, we’re all set! Do remember that it might take up to 24 hours before there is any data available for you to peruse within these reports, though.
Step 2: Installing complementary plugins
The Google Analytics for MonsterInsights plugin is not all that’s out there as far as third-party improvements for the platform are concerned – in fact, when it comes to learning to optimize Google Analytics for WordPress we’ve got two more suggestions for you right here:
1. Reduce Bounce Rate
The aptly named Reduce Bounce Rate plugin introduces a simple tweak that modifies the method Google Analytics uses to track your bounce rate. By default, Google Analytics will count visitors who fail to engage with your site as ‘bounced’ – and set their time spent inside as zero – even if they spend half an hour reading a sales page and then decide to send you an email.
What Reduce Bounce Rate does is send Google Analytics a bit of data every few seconds which enables it to count those slow-reading individuals as real visitors.
2. Better Google Analytics
Better Google Analytics isn’t so much a complementary plugin as an alternative to Google Analytics by MonsterInsights. It includes many of the same features as the latter while adding a few more to the mix, such as:
- Adjusting the Google Analytics bounce rate.
- Tracking user registration and new comments.
- Forcing your analytics information to transfer over Secure Sockets Layer (SSL).
- Tracking social media engagement (e.g. Facebook likes and Twitter follows).
If for some reason Google Analytics by MonsterInsights isn’t your cup of tea, give this plugin a chance!
Step 3: Setting goals in Google Analytics
Every website has a goal – be it to sell products, amass users, or promote other services (among many others). Google Analytics enables you to track your goals through its aptly named Goals system, which determines whether the conditions for each goal have been met using parameters set by you.
To find the Goals screen, you need to go to your Admin tab on Google Analytics, then click on the Goals item under the View column:
Once there, you can create new goals by choosing from a template of predetermined ones or creating a custom one. Despite the many templates available, there are only four types of goals:
- Reaching a specific URL.
- Spending at least X time on a page.
- Visiting at least X pages.
- Completing a particular action/event (e.g. watching a video).
For each new goal, you must set a specific set of requirements out of the four above. This enables you to create highly specific goals using Google Analytics for WordPress, such as tracking WooCommerce conversions using a destination goal (i.e. reaching a specific URL).
To do this, first, we must click on +New Goal, then set the goal as Custom, specify an informative name and select Destination as its type:
All that’s left to do now is select the destination itself, and the Thank you page that WooCommerce displays post-checkout is the perfect setting for ours.
Insert your post-purchase URL, click Save, and that’s it for your first goal! You could do something very similar with say your email signup confirmation screen (for tracking signups), to track the efficacy of calls to action and landing pages, and so on.
Optimize Google Analytics for WordPress: Conclusion
As is plain to see, if you want to optimize Google Analytics for WordPress, this can be a difficult goal to achieve. Putting Google Analytics to work to its full potential alongside WordPress requires a lot of tweaks and the occasional third-party tool, but the efforts are well worth the reward. If you’ve followed our advice, you’re well on your way to unlocking the full potential of this powerful combination.
Before we part ways, let’s briefly recap the steps we’ve outlined here today on how to optimize Google Analytics for WordPress:
- Optimize the Google Analytics by MonsterInsights plugin to get the most out of your experience.
- Consider installing other plugins such as Reduce Bounce Rate and Better Google Analytics.
- Set specific goals in Google Analytics and track how your visitors interact with your site.
Having trouble integrating Google Analytics for WordPress and making it work exactly like you need it? Feel free to submit any questions in the comments section below!
Original text by Tom Ewer and Karol K.
Latest posts by CodeinWP Editorial (see all)
- [RESULTS] 2018 WordPress Hosting Survey – Aka “The Good, the Bad, and the Ugly of WordPress Hosting” - May 17, 2018
- Want to Build Progressive Web Apps Based on WordPress and WooCommerce? Here’s How (w/ Code Examples) - November 9, 2017
- Elementor vs Divi Builder vs Beaver Builder: Ultimate Comparison - October 25, 2017