Monday, June 26, 2017

Add Google Analytics to Your Website

After attending another SCORE workshop (for SEO) I've been pulled kicking and screaming into Google Analytics.

Actually I started at I verified my Google Business account by telephone. Surfing through the site I somehow ended up at the Google Analytics page.

First, I logged into Google Analytics with my account, and I promptly added as an full-permission authorized user. Things started to get interesting.

I don't know if the account information was originally set up under RickJaggers or ABetterComputerInc name, but some of the data fields were populated....😐

While the account was A Better Computer Inc, the URL was the Early Bird website from a couple of years ago. Oops. I changed the URL to and made some other changes.

But setting up Google Analytics takes two parts; the information at Google, and some code on the website.

Fortunately, all my sites are Wordpress today, and WP is fully aware of GA. I found this very good video at that showed how to use two WP plugins:

  1. Google Analytics for WordPress (by MonsterInsights)
    • This plug in required me to authenticate through Google. The trade-off is that Google Analytics results will be available through the WP dashboard.
  2. Insert Headers and Footers Plugin (by WPBeginner)
    • Quoting from the WPBeginner page: "This method is not as not as good as MonsterInsights because you will not be able to do advanced tracking configuration, and you will not be able to view Google Analytics data in your WordPress dashboard."
    • This plugin actually adds the Google Analytics java script code to the page headers in WP. In other words, install the plug-in and open the Plugin in Settings, then copy the JS code from Google Analytics and paste into the WP "scripts in header" block.
I used the first plugin on the ABetterComputerInc site.

Next, I created another Google Analytics account (Bayshore) with the URL, and I used the second plugin to put the Google Analytics code into the website.

[ Lesson learned: I can have more than one URL under an account, so if I consider both of these websites to be owned/managed/maintained by ABCInc, then I could have put the second URL under the ABC account. ~~ The question remains which GMail/Google account this is operating under. Doesn't really matter, though; When I quit - or die - then the sites will probably fade away...]

10:30pm - time to let this simmer overnight.

7:30am - Whew! Been busy this morning.

I learned that will accept Google Analytics codes. That's not surprising because is owned by Google. I've added the following sites to track with Google Analytics:

  • Account: ABC Inc
    • (Website)
    • (
    • (Website)
  • Account: Bayshore
    • (Website)
    • (
  • Account: Jaggers, etc.
    • (website)
    • (
    • (
    • (
    • Rix Diary ~ Private ~ (
    • Rix Playground ~ Unpublished ~ (
Apparently Google Analytics takes 48-hour snapshots. ....waiting on Monday....

No comments:

Post a Comment