Updated: Aug 25, 2020
Yeah, YOU! Congratulations.
If you're wondering how to connect your website to Google Analytics, you've already done all of the hard work to create a website. That's quite a feat! Congratulations on all of your hard work thus far... it's not much further until you reach that holy land of attracting traffic to your new masterpiece!
But first, the technical part of ensuring you'll not only show up on Google, but that you'll be able to track and analyze all of the data relating to the traffic you'll be enjoying now that you have a website.
Let's get started...
How to Connect Your Website to Google Analytics
First things first, go to google.com/analytics.
Click "Sign in" or "Get Started"
Login with your gmail account
Click "Sign up"
In Account setup, enter your Account Name under Account detai
Check your desired Account Data Sharing Settings
Select what you want to measure: Website, App, or Website and App
Complete Property Setup by indicating: Website name, Website URL, Industry Category, Time Zone
Accept Google's Terms of Service
Next, place your Global Site Tag code or Tracking ID into the <HEAD> of every webpage you want to track.
Pro Tip: Depending on the platform you've build your website on, placing your GST code will be a little different platform to platform.
Once you've successfully completed adding your GST code or Tracking ID to your website, return to the Google Analytics Dashboard.
Create Your First Google Analytics Annotation
Go to Audience > Overview
Click the down arrow under User Data
On the right hand side of the dropdown, click +Create new annotation
Fill in a specific note detailing the actions you just took
Why Are Annotations Important?
Remember when you'd go to your grandmothers house and look at all of those old picture albums? If not, this is going to be a terrible analogy for you, but here we go anyway!
You'd happily flip through page after page until a certain picture caught your eye. "Grandma, who was this? What year was this taken?" you ask.
Grandma takes the photo out of the album and flips it over, only to find that she forgot to write those very important details on the back of the picture! Now, nobody will ever know if that's your Uncle Fred or your own father, Bob. It's a picture in time that's forever lost in history.
Alright, now that we're done with stories of grandmas and photo albums, let's get back to business.
Yep, it's the same with Google Analytics. Any time you make a significant change to your website, run a campaign, or implement something a little different in your business, create an annotation in Google Analytics so you don't forget what action you took and when.
By keeping a detailed log of these actions, you'll be able to look back over time at your website traffic data and analyze each spike or dip in traffic in better detail. If you forget to annotate an important change you've made or campaign you're running, it'll be easy to forget what caused such a great dip in traffic or complete crash in website visits.
Simple enough? I sure hope so! But, if you have any questions... get in touch with me!
Head on over to The Modern Co. Instagram and slide in those DM's or email me at firstname.lastname@example.org.
Chat with ya then, babe!