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.

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 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:

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

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

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

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.

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.

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.

Meet Samie Dojo

I created this blog to document my self-growth. In the past few years, I have done a lot – some of it was good, some of it was not the best. I have recently done some soul searching, and really am working to move towards a more healthy minimalist lifestyle.