This is a follow up to my previous posts Blogging for free with Jekyll, and Updating the Blog’s Theme.

In this post, I’ll write about the process that I am going through to add Google Analytics to this site.

Getting started

One of the things that I noticed when updating the theme for the previous post was this section:

Additionally, you may choose to set the following optional variables:

show_downloads: ["true" or "false" to indicate whether to provide a download URL]
google_analytics: [Your Google Analytics tracking ID]

So, after getting my Google Analytics tracking code, I updated _config.yml, and tried it out. Unlike my experience with changing the theme, this worked exactly as advertised.

Done

That’s it. Done. Google Analytics are now part of this blog.