How to Add Google Analytics to WordPress.com Blogs

Today I decided that I wanted a little more insight to  who was accessing my website. WordPress.com stats are good, but I wanted more information. So like usual I created a new Google Analytics account, copied the tracking code, and was on my way to insert it.

I kn0w that you cannot alter code on a WordPress.com blog but I figured they would have an area for you to insert the code… Nope!  Well, then I went and did some research with my best friend Google. I found this article here:
https://en.support.wordpress.com/google-analytics/#enabling-google-analytics-on-wordpress-com
Long story short you need a WordPress.com Business Plan upgrade for usage of Google Analytics.

After finding that out, I started weighing my options wondering if Google Analytics was worth the WordPress.com Business Plan Price. Before I gave up or caved, I decided to go back to my best friend Google one more time. I came across this wonderful article on CloudFlare’s blog:
https://blog.cloudflare.com/61118769/
You can set up CloudFlare easily and then use their Google Analytics App.

CloudFlare Apps samiedojo.com CloudFlare Web Performance Security

CloudFlare is very easy to setup and has many perks for any website out there! To read the perks, click here.

Here is how simple CloudFlare is to set up:

1.) Signup for CloudFlare and start the process:

Add Websites CloudFlare Web Performance Security

2.) CloudFlare will scan your DNS records and ask you to verify that they are correct.

Step 2 Verify That All Of Your DNS Records Are Listed Below samiejo.com CloudFlare Web Performance Security

3.) Select your CloudFlare plan! I chose the “Free” one and it works fine.

Step 3 Select a CloudFlare Plan samiejo.com CloudFlare Web Performance Security

4.) Change your nameservers to the ones the they provide. There are also directions on this page that will help you do this.

Step 4 Change Your Nameservers samiejo.com CloudFlare Web Performance Security

5.) Once you are done you can click on “Apps” in the menu and find the Google Analytics app to put your tracking code in.

Overview samiejo.com CloudFlare Web Performance Security

It may take up to 72 hours to populate, but mine took about 10 minutes. Now I have Google Analytics on my website and I am happy I don’t have to leave WordPress.com or switch to Business Plan.

There may be other ways but this did the job for me 🙂

Thanks for reading!
❤ Samie

Advertisements

8 thoughts on “How to Add Google Analytics to WordPress.com Blogs

  1. Hi Samie.

    This is excellent, thanks so much for sharing. I’ve set everything up in CloudeShare etc. One question and sorry if this is obvious: I want to do some tracking to analyse clicks on external links. I tried to insert some code into the HTML of a blog post but it just won’t “stick”. If I switch from Text to Visual mode it just disappears. An example of the code is below.

    Website

    Am I missing something?

    Thanks so much for your insight.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s