Skip to content
ilyana.dev
TwitterGithubLinkedIn

Configuring Google Analytics for Your Gatsby Blog

blogging, coding, google analytics1 min read

configuring google analytics blog

Google Analytics is a tool for analyzing traffic on your website.

Why do I want Google Analytics?

Google Analytics will give you the ability to see how many users your site gets and which parts of your site they look at most. It's also pretty easy to connect to your Gatsby blog using it in combination with Google Tag Manager and the Gatsby plugin for Google Tag Manager.

How to Connect your Blog

First, you'll need both a Google Analytics and a Google Tag Manager account, as well as a Gatsby blog, which you can learn how to build here. Once that's taken care of, follow along with the first 4 minutes of this video to configure Tag Manager for your Gatsby blog.

Here are some links to the websites you'll want to have open in order to follow along:

Thanks for reading! I hope you find this and other articles here at ilyanaDev helpful! Be sure to follow me on Twitter @ilyanaDev.