How to Set Up Google Analytics in 2 Steps

A quick and simple guide to connecting your SaaS platform to GA

Step 1 — Setting Up the GA Basics

As we know, GA’s purpose is to track users on your website. Google accomplishes this by using a tracking device called a Global Site Tag (gtag) which is installed manually on your website. Gtag is a javascript tagging framework and API that allows you to send event data to Google Ads, Campaign Manager, Display & Video 360, Search Ads 360, and Google Analytics.

Create your free account at analytics.google.com
  • Property Name[Saas Product 2]
  • Property Name[Marketing Website 1]
Your Account Name should likely reflect your Company Name
Select the property Web Type
  • Dark Matter Digital — Marketing Site
  • Dark Matter Digital — iOS App
Define a naming convention for your properties that can be used across multiple domains within your account.

Step 2— Connect Your Website to Google Analytics

For GA to start capturing metrics on your website, you need to manually connect your website to Google Analytics using their API and Javascript. Google does most of the work here and gives you a pre-built javascript snippet ready to be dropped into your website’s head tag. This is called the Global Site Tag (gtag). This javascript code houses your property tracking ID and is how Google knows what property you’re tracking. If you’ve heard about Facebook tracking, this mechanism is referred to as a tracking pixel on Facebook’s platform. A Gtag and a pixel pretty much do the same thing — they capture data from the page and send it to their respective analytics platform. You can have both Facebook and Google trackers on a single site.

Each property receives its own Tracking ID used for Google Ads and Tag Manager
Paste the snippet of javascript that Google provides into the head tag of your website
You should see “1 active user” on the right side of the screen
This is the Google Tag Assistant Chrome Extension

That’s It!

And there you have it - you’ve successfully connected your website or product to Google Analytics and have taken the first step towards a better product. Now take a look around the GA dashboard, and all of the reports, charts, and visuals GA has to offer. In our next article, we will cover setting up custom events.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store