Latest posts by Donncha Hughes (see all)
- Adding Facebook Page Feed and your Twitter Timeline to your WordPress blog (updated 2020) - December 4, 2020
- Working with Images for your Website - April 14, 2020
- How to get an email address to match your website URL? - March 31, 2020
A blogpost which explains how to set up Google Analytics on your WordPress website, followed by instructions on how to then create and link to your Google Search Console (Webmaster tools) so that you can upload an XML sitemap for your WordPress site – all of which is recommended for Search Engine Optimisation (SEO)
Google Analytics (GA) is a free service offered by Google that generates detailed statistics about your website’s visitors. It is the most widely used website statistics service – very useful for marketing (a point I will return to at the bottom of this article)
To set up a Google Analytics Account
1. Sign into your Google Account
2. Search for Google Analytics and sign in
3. Create a new ‘Web Property’ for your new website
4. Google will provide a unique ‘Tracking ID’ that you will add to your website to Verify that you own the site. the tracking ID has this format:
5. Download a Plugin called Google Analytics for WordPress by WebKinder
6. Copy the tracking ID into the box in the settings of the Plugin… click on Settings in the Plugin or via SETTINGS in the Dashboard.
When you go back to Google Analytics, follow the instructions to VERIFY your Web Property.
It does take Google a day or two to start recording Visitor information to your website.
I would recommend to add Google Tag Assistant to Chrome so that you can verify that Google Analytics continues to track your site.
Using Phlox Theme – Adding GA Tracking ID
Some Themes have a facility to link to Google Analytics in a few clicks, for example the Phlox WordPress Theme which is highly recommended. When you install the Theme a message pops up to suggest that a plugin called “Phlox Core Elements” be installed. This now seems to be called ‘Shortcodes and extra features for Phlox theme‘. Go ahead to install and activate. This will allow you to add your Google Analytics Tracking ID within Phlox Customise ie you
From the WORDPRESS DASHBOARD >>> APPEARANCE >>> CUSTOMISE /// GENERAL /// GOOGLE API KEYS & SEO… copy in the tracking ID provided by Google Analytics.
Google Webmaster Tools
You can now open a Google Search Console (formerly known as Webmaster tools) account – this is a free service from Google that shows ‘webmasters’ (yes that is you as you have designed and maintained your WordPress site) how Google sees your site. This is very important to make sure to track errors on your site. You can also combine the data from Google Analytics to get even more insight on visitors.
How to add Google Search Console
There are only a few steps:
1. Sign in to your Google Account
2. Search for Google Search Console tools and go into Google’s official Search Console site.
3. Find the RED button that allows you to ADD A SITE
4. You will be asked to verify ownership. You will be using the Alternate Method which is to use Google Analytics. The message may look daunting but all you have to do is click VERIFY.
If you have followed the instructions in this post ie used the Tracking ID to set up Google Analytics, the next screen should read:
‘Congratulations, you have successfully verified your ownership of … [your website url]’
Adding an XML Sitemap
There is a lot to talk about in Google Search Console so feel free to explore. The starting point is to add a sitemap.
- Download the Yoast SEO plugin … this is a very popular
- This automatically creates XML sitemaps for your WordPress website (and blog)
- Within the SEO (Yoast) settings tab there is a button to display your XML sitemaps which will be in this handy format… http://www.startupwebtraining.com/sitemap_index.xml .. with your URL replacing my own
- Within Google Webmaster tools, Sitemaps is one of there main options displayed on the home dashboard. Click on SiteMaps and you see this screen …
Type in sitemap_index.xml into the box. You can test to make sure it is ok and then submit. When this is successfully submitted (in seconds) you will know how many webpages are on your site. It will take a day or two for data to appear.
Google Analytics is critical for marketing
Both Google Search Console and Google Analytics provide loads of information on visitors to your website – fundamental to monitoring your online marketing and understanding your customers. While Google Analytics may seem complicated it is just a matter of diving in to see what it can do.
If you’ve ever taken a quick peek at Google Analytics, you were probably thinking to yourself, “What is going on here? Where do I even begin?” Even if you’ve taken more than a quick look, this analytics and tracking giant can be quite overwhelming.Ultimate Beginner’s Guide to Google Analytics (2020 Interface)
There are lots of excellent resources to learn about both Google Analytics and Search Console to include the Ultimate Beginner’s Guide while I highly recommend the online training from Google Analytics Academy.
This May 2016 article from Search Engine Land is a comprehensive guide to Search Console
As always I hope you enjoyed this post, please feel free to leave comments while Social Shares are also appreciated.
Check out upcoming Training Dates delivered by Donncha Hughes for LEO Galway – SEO and Creating a Business Website using WordPress – book direct via LEO Galway.