Blueprints/ #google-analytics /Getting Started With Google Analytics
#google-analytics

Getting Started With Google Analytics

This article will explain the basic stuff you need to know about Google Analytics. You can understand on what Google analytics does and how to enable it for a web application with easy steps.

Chamika Sandamal·October 20, 2020·2 min read

Google analytics overview

What is google analytics

Google Analytics is a service which provided by Google to analyze traffic to your application. It will allow you to track following in your web or mobile application

Number of users using the application

Where do they come from

User behaviors

What system do they used(OS and browser details)

What are the most visited content in your application

How to enable google analytics

Sign in to Google Analytics

To use google analytics, Create or sign in to your Analytics account.

Go to Google analytics site

If you are new to Google analytics, create a account

If you have a valid google analytics account, Sign in to that

Add an account and property

In order to setup the analytics, you have to perform following actions in your account

Create an account

Create a property

Set up the Analytics tag

Add tag to your website

Create an account

If you've already been using Analytics, you already have an account and may not want to add another one

If you have not already signed in, sign in to Analytics

Click Admin.

In the Account column, click Create Account.

Enter an account name.

Configure the data-sharing settings to control which data you share with Google.

Click Next to add the first property to the account.

Create a property

Enter a name for the property.

Select the reporting time zone

Click Next and provide information about your business

Click on create

Set up the Analytics tag

If you created a Google Analytics 4 property, Click Add stream, then click on Web. You will see your tracking code and Global Site Tag under data streams → web → Data stream

If you don't see a Data Streams option in the Property column, you can find it inside Tracking Info → Tracking Code

Copy and paste the entire code section to <head> section in every page you want to track on your website

Now we are ready with the Google analytics setup. You can then use the Realtime report to verify that you're receiving data.

That's all for today and see you soon in another very exiting tutorial

CS

Chamika Sandamal

Principal Distributed Systems Architect @ Ciemasen.

Need architecture advisory or high-throughput distributed system design? Explore Ciemasen Engineering →