If you run a business that uses a website or mobile app as a core component of service delivery, then you most likely want to know:
How people find your website or app
How these people interact with your website or app
How effective your marketing strategy is
The content on your website that achieves business goals best
Information like this can be obtained and understood thanks to Digital Analytics.
Simply put, digital analytics involves collecting, analyzing, and reporting on interaction data generated by users on your website or mobile application.
While many free & paid analytics tools are available,
“An analytics service that lets you measure traffic and engagement across your website and apps” -
Google’s “next-generation” measurement solution — the Jackson Storm to Universal Analytics’ Lightning Mcqueen.
If you haven’t seen (or don’t care for) Disney Pixar’s Cars franchise, here’s a less obscure explanation/background:
Google has provided a digital analytics solution
Progressive iterations resulted in Universal Analytics in
On March 16, 2022,
GA4, the new generation of analytics enters the spotlight - armed with features that help businesses “understand complex multiplatform journeys” while keeping privacy front of mind.
With the background out of the way, let’s focus in on GA4.
Before data can be collected from your website or app, it needs to be connected to Google Analytics.
To connect your website to GA you need to add a tag to your site. A tag is a small piece of Javascript code added to each page of your website to measure user activity. Tags can be added directly to your website’s code, or with a tag management system like Google tag manager.
To connect your mobile app to GA you need to add the Firebase Software Development Kit to your app. When added, the Firebase SDK will collect and send data to GA just like the tag did for websites.
Once the GA tag has been added to your website and/or app it collects user interactions and sends them over to GA4 as events, many of which are automatically collected by GA when you connect your website or app.
As you connect your website or app with GA4, it’s important to clearly define your business objectives and understand the metrics that align with them. For instance, a technology publishing company like HackerNoon would be interested in different metrics, insights, and reports than an Ecommerce company like Fashionova. Where HackerNoon would want a handle on information like page views, time on page & CTAs clicked, Fashionova would be more interested in info like best-performing items, countries that make the most purchases, and so forth.
At this juncture, It’s important to crystalize your business objectives and target metrics so you don’t go into analytics blind and collect “useless” information.
For context, where HackerNoon’s business objective would be to increase awareness, Fashionova’s would be to increase sales. And this informs the kinds of reports and insights valuable to either business.
For more detailed info on setting up your account and connecting it to Google Analytics 4, take a few minutes to watch the following video:
Next, let’s take a look at the basic structure of a GA4 account.
A Google Analytics 4 account is structured in 3 levels:
The account itself
Properties
Data Streams
Here’s how Google Analytics defines these levels:
Account - a collection of properties whose data is owned by a single business entity.
Property - a grouping of user data from a website or an app.
Data stream - represents the flow of data from a website or an app to the property. Web data streams are to websites as App data streams are to mobile applications.
If a company has both a website and a mobile app, the company would need 3 data streams - 1 for the website, 1 for the Android app, and 1 for the iOS app. This is considered best practice; mapping a user journey to a single data stream to ensure consistency in user & session reporting. As a rule of thumb, aiming for 1 account per company & 1 property per brand or business unit is ideal.
Let’s take a look at a made-up company called Orange Banana (OB for short)—a logistics company that serves two distinct clients, delivery drivers and customers. OB has two different websites for each kind of user.
Their analytics account would look like this:
After a successful first few months, OB experienced increased demand and decided to launch mobile apps for their customer user base available on Android and iOS. Delivery drivers, however, still had to rely on the website.
In this scenario, the analytics account would look like this:
Once your account is connected and set up in tune with your business structure, Google starts collecting events and parameters that give the event more context.
Google uses events, event parameters & user properties to aggregate data into valuable reports.
To communicate this data as reports, Google Analytics uses dimensions and metrics.
A dimension, usually text instead of figures, is an attribute of your data that describes it. Metrics on the other hand are quantitative measures of your data. An example of a dimension is the name of an event. From our example, the dimension would be “page_view”. The metric would be the number of page views over a selected period.
Summarily, dimensions answer “what, who, or where?” questions, while metrics answer “how many?” questions.
Where are my top users from? — Dimension (country)
How many users visit my website from each country? — Metric
That’s it for this post!
So far, we’ve learned:
In the next post, we’ll spend some more time navigating through the GA4 user interface, understand the available reports and insights, and learn how to generate/gain business-specific insights from your reports.
See you soon!
Lead image source.