WordPress SEO: Connecting to Webmaster Services and Analytic Systems

How to
6Like
Comments
Share
WordPress SEO: Connecting to Webmaster Services and Analytic Systems

Constant analyzing and tracking your website’s development are one of the most significant parts of every website optimization. In most cases, different content management systems including WordPress provide their own analytic services, but search engine tools can give you much more detailed data.

Major search engines such as Google, Bing, and Yahoo provide free diagnostic tools for all webmasters and SEO specialists. They help you understand how search engines see your website and quickly get notifications about some critical optimization issues.

In this article, we’ll talk about how to register in Google Analytics and Google Search Console and how to connect them to your website using Google Tag Manager.

1. Registration in Google Search Console

Perform the following steps to register in Google Search Console:

  1. Open Google Search Console and choose a personal account (Gmail / Google+) that must be connected to GSC account.
  2. Enter your website’s address to connect it to a console (it is necessary to specify website’s protocol – HTTP or HTTPS).
  3. WordPress SEO: Welcome to Search Console
  4. In an opened window go to ‘Alternate methods’ tab and select ‘HTML tag’. After selection of a method, console will provide you a unique meta tag to verify your ownership of the website. Don’t close this tab. You’ll need it again later.
Registration in Google Search Console

2. Registration in Google Analytics

Google Analytics is free of charge and available for any website owner. The registration procedure as follows:

  1. Open Google Analyitcs and click ‘Sign in’ button.
  2. Check if you’ve chosen correct personal account (personal gmail.com or Google+ profile) before starting the procedure.
  3. Set up a property type (‘Website’), choose the name for your account and enter a website URL. Keep in mind to choose an appropriate website protocol. In the case if you still use HTTP, we highly recommend to use our guide for secure connection setting and only then start GA registration procedure. This will help you avoid many problems in future.
  4. Registration in Google Analytics
  5. After saving your registration information, the system will generate unique ID and specific code for implementing into your website source code. To integrate website with web analytics we’ll use Google Tag Manager, so it is enough to use ID only.
  6. Leave Google Analytics settings panel and open a new tab in your browser.
Getting ID for Google Tag Manager

3. Connecting Google Analytics and Google Tag Manager

Google Tag Manager is a unique ‘organizer’ for tracking code managing. It allows connecting different analytic systems from search engines and advertising platforms with one piece of code instead of tens. Later you can change Google Tag Manager code without web developer’s help.

You can create your GTM account and connect it with Google Analytics in a few simple steps:

  1. Open Google Tag Manager and login with your personal Gmail account. Click ‘Sign in’ button.
  2. Name your account. Go to ‘Setup Container’.
  3. Choose where to use container (‘Web’) and enter your website address. Click ‘Create’ button.
  4. After saving your registration data, you will receive unique GTM code consisting of two parts. You’ll need it a bit later.
  5. Google Tag Manager Installation
  6. Click on a ‘New tag’ card on a ‘Workspace’ tab in your GTM account.
  7. Adding a new tag in Google Tag Manager
  8. In an opened window click ‘Tag configuration’ and choose ‘Universal Analytics’.
  9. Choosing tag type in GTM
  10. Configure tag:
    • ‘Track Type’ → ‘Page View’
    • ‘Google Analytics Settings Variable’ → ‘New Variable’
    • ‘Variable Configuration’ → your ‘Google Analytics Tracking ID’
    • ‘Cookie Domain’ → ‘auto’
  11. Save changes. GTM will ask you to add a trigger. Click on ‘Add trigger’ button. Select ‘All Pages’. Finish editing and save a tag.

4. Integrating Tracking Codes

  1. In your Google Tag Manager account open ‘Tags’ tab. You’ll see there the tag for GA you’ve made before. To create GTM tag for implementing in your website, click ‘Submit’ button and then ‘Publish’ button.
  2. Creating GTM tag for implementing in your website
  3. Click on a link with personal ID on the dashboard to get a code for your website. Open a new tab in a browser, but don’t close the current tab.
  4. Open your website console and go to ‘Editor’ in the ‘Appearance’ menu.
  5. WordPress SEO: ‘Editor’ in the ‘Appearance’ menu
  6. In the list of theme files find Header or Theme Header (header.php). Click on a file name to open it.
  7. Theme Header
  8. Find opening <head> tag and put the first piece of GTM code and Google Search Console meta tag below it. Place each element in a new line.
  9. Putting the first piece of GTM code
  10. Find opening <body> tag and put the second part of GTM code below. Save changes and close the editor.
  11. Putting the second part of GTM code

If your website’s console shows you an issue while saving changes in a code, use FTP-client (you can use Filezilla we mentioned many times before). Perform the following actions:

  1. If you didn’t work with Filezilla before, open the ‘File’ menu → ‘Site manager’. In an opened window click a ‘New site’ button and enter registration information from your hosting provider.
  2. In the folder /public_html/wp-content/themes/name-of-your-template find header.php file.
  3. Header.php file
  4. Right-click on it. Choose the ‘View/Edit’ command from the context menu. In the opened file perform actions described above. Save changes and overwrite a file.
  5. ‘View/Edit’ command

Keep in mind that in case of template change you need to repeat this procedure and implement all codes and meta tags again, but in the header of your new website template.

5. Final Check

After procedure completion you need to open a tab with Google Search Console and click ‘Confirm’ button. If everything was done properly, you’ll see corresponding notification. Then system will redirect you to the setting page.

To make sure that GTM code was implemented correctly, go to your Google Analytics account. In the ‘Reports’ tab choose ‘Real-Time reports’ → ‘Overview’. Pay attention to the quantity of active users. If you are currently visiting your website and tracking is not blocked by some browser widgets (for example, Ghostery), this indicator will show one user.

After completing the final check, we recommend to make all your website team install and activate Ghostery browser widget to exclude your visits from analytic reports.

Summary

Analytic systems and webmaster services provided by search engines are basic tools for every web developer, SEO specialist, and website owner. They help you get a complete picture of search engines’ perception of your website.

You need to make a few simple steps to start using them on your WordPress website:

  1. Register in Google Search Console, Google Analytics and Google Tag Manager.
  2. Connect your Google Analytics account with Google Tag Manager.
  3. Implement GTM code and Google Search Console meta tag in your current template’s header.php file.
  4. Check if everything was done properly.
  5. Start using new tools and gather insights :)

If you still have some questions or comments, please leave them under this post and we’ll be glad to answer them!

By the way, the next post in this series will be dedicated to WordPress websites markup. We’ll talk about its different types and implementing. Stay tuned!