How Google Analytics works

Google Analytics is a platform that collects data from your websites and apps to create reports that provide insights into your business.

Measuring a website

To measure a website, you first have to create a Google Analytics account. Then you need to add a small piece of JavaScript measurement code to each page on your site. Every time a user visits a webpage, the tracking code will collect pseudonymous information about how that user interacted with the page.

For the Google Store, the measurement code could show how many users visited a page that sells drinkware versus a page that sells houseware. Or it could tell us how many users bought an item like an Android doll by tracking whether they made it to the purchase-confirmation page.

The measurement code will also collect information from the browser like the language setting, the type of browser (such as Chrome or Safari), and the device and operating system on which the browser is running. It can even collect the “traffic source,” which is what brought users to the site in the first place. This might be a search engine, an advertisement they clicked on, or an email marketing campaign.

Processing and reporting

When the measurement code collects data, it packages that information up and sends it to Google Analytics to be processed into reports. When Analytics processes data, it aggregates and organizes the data based on particular criteria like whether a user’s device is mobile or desktop, or which browser they’re using.

But there are also configuration settings that allow you to customize how that data is processed. For example, you might want to apply a filter to make sure your data doesn’t include any internal company traffic or developer traffic.

Once Analytics processes the data, it’s stored in a database where it can’t be changed.

So remember, when you set up your configuration, don’t exclude any data you think you might want to analyze later. Once the data has been processed and stored in the database, it will appear in Google Analytics as reports.

Was this helpful?

How can we improve it?
false
Search
Clear search
Close search
Google apps
Main menu
18418080138299613913
true
Search Help Center
true
true
true
true
true
69256
false
false