You add a small piece of Google code, called a tag, to your website or app, and Google Analytics records what visitors do there as events: viewing a page, scrolling, clicking a link, filling in a form, buying something. Reports then show where visitors came from, which pages they used and which of the actions you care about they completed. The standard version is free; Google Analytics 360 is the paid version for large organizations.
It's the most common place to answer questions like "Did the new landing page bring more sign-ups?" and "Which channel sends visitors who actually buy?" For the bigger picture of the discipline, see web analytics.
GA4 is the only version now
Today's Google Analytics is Google Analytics 4, usually shortened to GA4. It replaced Universal Analytics, the version whose tracking IDs started with "UA-". Standard Universal Analytics properties stopped processing data on July 1, 2023, and from the week of July 1, 2024 their data and reports were gone, including for 360 customers (Analytics Help).
So if a tutorial talks about views, goals or a "UA-" code, it describes the old product. The main change in GA4 is that everything is an event, and one property can collect data from both a website and an app.
How Google Analytics is organized
Setup follows three levels:
- Account: usually one per business.
- Property: one per website or app, or one for a site and its app together. Reports live here.
- Data stream: the source feeding the property, either Web, iOS app or Android app.
A web data stream has a Measurement ID starting with "G-". You add the tag in one of three ways: paste the ID into your CMS's Google Analytics field (WordPress, Shopify, Wix and many others have one), install the tag with Google Tag Manager, or add the code to your pages yourself.
When you create a web stream, keep enhanced measurement on. It collects page views and other common events without extra code, and you can switch off single events later.
What to set up in the first week
Mark your key events. A key event is any event that matters to your business, such as a form submission, a sign-up or a purchase. Mark it as a key event in Admin, and reports start counting it across all channels. Google renamed these from "conversions": a conversion now means a key event you also use to measure Google Ads campaigns. See key events.
Check data retention. For a free property you can keep user-level and event-level data for 2 or 14 months. This setting affects explorations and funnel reports, not the standard reports. If you plan to compare this year with last year in explorations, choose 14 months now, because older data is deleted.
Link Search Console. Analytics doesn't see which Google searches brought a visitor. Linking a Google Search Console property adds two reports: Google Organic Search Queries and Google Organic Search Traffic. They hold up to 16 months of data, arrive about 48 hours late and are hidden by default: publish the collection from Library (Analytics Help). You need the Editor role in Analytics and to be a verified owner in Search Console.
Tag your campaign links. Add UTM parameters to links in emails, ads and social posts, so visits land in the right channel instead of "direct".
Free Google Analytics vs Analytics 360
Most websites never need 360. The differences show up at scale:
| Free (standard) | Analytics 360 | |
|---|---|---|
| Price | Free | Paid contract |
| Event data retention | 2 or 14 months | Up to 50 months |
| Daily raw-data export to BigQuery | Up to 1 million events a day | Up to 20 billion events a day |
Both versions can export raw event data to BigQuery. The free version's 1 million-event limit is plenty for most small and mid-sized sites.
What Google Analytics can't tell you
- Every visitor. Visitors who decline cookies or block the tag aren't measured the usual way. GA4 fills some gaps with modeling, so treat the numbers as close estimates, not a head count.
- Your search rankings. Analytics measures visits, not positions. Rankings and queries come from Search Console.
- Other people's sites. It only measures sites that carry your tag. To estimate a competitor's web traffic, you need other tools.
For dashboards that mix Analytics with other data, many teams connect it to Looker Studio.