Website analytics done right means tracking fewer things, understanding what each metric actually tells you, and connecting data directly to decisions. The right metrics depend entirely on what kind of site you are running – a blog, an e-commerce store, a SaaS product, a community platform, or a lead generation site all need completely different measurement frameworks.
This guide covers GA4 setup, Google Search Console, privacy-first alternatives, heatmaps, and most importantly, which metrics actually matter for each site type. By the end you will know exactly what to track, what to ignore, and how to build a dashboard you will actually use.
Setting Up Google Analytics 4 (GA4)
Universal Analytics was retired in July 2023. If you are still seeing Universal Analytics data, you are looking at historical records only. All new tracking must go through GA4.
GA4 Installation – Step by Step
- Go to analytics.google.com and sign in with your Google account
- Click Admin (gear icon) and then “Create Account”
- Enter your account name, configure data sharing settings, and click Next
- Create a property – enter your property name, select your reporting time zone and currency
- Enter your business information (industry, size)
- Choose your business objectives – these affect which reports GA4 shows by default
- Under “Data Collection,” click “Web”
- Enter your website URL and stream name, then click “Create stream”
- GA4 shows you your Measurement ID (format: G-XXXXXXXXXX) and installation instructions
For WordPress sites, the cleanest installation method is through Google Tag Manager (covered below). Alternatively, use the Site Kit plugin by Google, which handles both GA4 and Search Console in one place.
GA4 Events and Conversions Setup
GA4 is entirely event-based. Every action on your site is an event. GA4 automatically collects several events without any configuration:
- page_view – fired on every page load
- session_start – first event in a new session
- first_visit – new user’s first visit
- user_engagement – user is active on site for 1+ seconds
- scroll – user scrolls to 90% of page (enhanced measurement)
- click – outbound link clicks (enhanced measurement)
- file_download – clicks on downloadable files
- form_start, form_submit – with enhanced measurement
- video_start, video_progress, video_complete – for embedded YouTube videos
To track conversions, mark specific events as key events. In GA4 Admin > Events, find the event you want to track as a conversion and toggle “Mark as key event.” Common conversions to track:
- Form submissions (contact, lead, signup)
- Purchase completions
- Button clicks (specific CTAs)
- File downloads
- Video completions
- Specific page views (thank-you pages, pricing pages)
Mark no more than 5-8 events as key events. If everything is a conversion, nothing is. Choose only the actions that directly indicate business value.
Google Search Console: Your SEO Control Room
Google Search Console (GSC) is completely separate from GA4 and arguably more important for most website owners. It shows you exactly how your site appears in Google search results – what queries you rank for, how often you appear, and whether Google can properly crawl and index your pages.
Search Console Setup
- Go to search.google.com/search-console and sign in
- Click “Add property” and choose “Domain” for full coverage across all subdomains and protocols
- Verify ownership using the DNS TXT record method (most reliable) or HTML file upload
- Submit your XML sitemap at Settings > Sitemaps
- Link Search Console to GA4 in GA4 Admin > Property > Search Console Links for combined reporting
Key Search Console Reports to Check Weekly
| Report | What It Shows | What to Do With It |
|---|---|---|
| Performance > Search results | Clicks, impressions, CTR, average position by query | Find high-impression, low-CTR queries – improve those title/meta descriptions |
| Performance > Discover | Traffic from Google Discover feed | Identify content resonating with mobile users |
| Index > Pages | Which pages are indexed vs excluded | Fix “Not indexed” issues (noindex tags, crawl errors, redirect chains) |
| Experience > Core Web Vitals | LCP, INP, CLS scores by page group | Fix “Poor” and “Needs improvement” pages first |
| Enhancements > Sitelinks searchbox | Whether Google shows search box in results | Monitor for unexpected changes |
| Security and Manual Actions | Manual penalties or security issues | Check immediately if traffic drops suddenly |
Privacy-First Analytics Alternatives
GA4’s data collection practices create compliance headaches in some regions (particularly the EU) and require cookie consent banners that hurt conversion rates. Privacy-first analytics tools solve this by collecting data without storing personally identifiable information and without needing consent popups in most jurisdictions.
| Tool | Monthly Cost | Cookie Consent Required | Data Location | Best For |
|---|---|---|---|---|
| Plausible | $9-$19 (100K pageviews) | No | EU servers | Simple sites, EU compliance |
| Fathom | $15 (100K pageviews) | No | Custom domains | Simple tracking, privacy focus |
| Matomo | Free (self-hosted) / $23+ (cloud) | Can be configured without | Your server or Matomo cloud | Full control, GA replacement |
| Umami | Free (self-hosted) / $9 (cloud) | No | Your server or Umami cloud | Developers wanting full control |
| PostHog | Free up to 1M events | No (anonymous mode) | EU or US | Product analytics, SaaS |
Plausible and Fathom are the easiest drop-in replacements for simple websites. Matomo is the choice when you need GA-level feature depth. PostHog makes sense for SaaS products where you want to track feature usage, user flows, and session replays in the same tool.
Heatmap Tools: What Users Actually Do
Traffic data tells you how many people visited a page and for how long. Heatmaps tell you what they actually did while they were there – where they clicked, how far they scrolled, where their mouse hovered, and what they ignored. This is completely different information.
Microsoft Clarity – Free Heatmaps and Session Recordings
Microsoft Clarity is genuinely free with no limits on sessions or recordings. It records real visitor sessions and generates heatmaps automatically. Setup takes under five minutes:
- Go to clarity.microsoft.com and create an account
- Create a new project and enter your website URL
- Add the Clarity tracking script to your site (or use the Google Tag Manager integration)
- Wait 24 hours for data to populate
- View heatmaps at Clarity > Heatmaps, and session recordings at Clarity > Recordings
Clarity automatically flags “insights” – sessions with rage clicks (repeated frustrated clicking on an element), dead clicks (clicking on non-interactive elements that look clickable), and excessive scrolling. Start with these flagged sessions when reviewing recordings.
Hotjar
Hotjar offers a free tier (35 daily sessions, basic heatmaps) and paid plans starting at around $32/month. Beyond heatmaps and recordings, Hotjar includes user surveys and feedback polls, making it useful when you want to combine behavioral data with direct user feedback. The paid plans also offer funnel analysis and more granular filtering.
Google Tag Manager Setup
Google Tag Manager (GTM) is a tag management system that lets you add, edit, and remove tracking scripts from your website without modifying code each time. Think of it as a container – all your third-party scripts live inside GTM, and you manage them through a browser-based interface.
GTM Setup Steps
- Go to tagmanager.google.com and create an account and container for your website
- GTM gives you two code snippets to add to your site – one in the <head> and one immediately after <body>
- For WordPress, the GTM4WP plugin handles installation without touching theme files
- In GTM, create a tag for GA4 using the “Google Tag” type, enter your Measurement ID
- Set the trigger to “All Pages” and publish the container
Once GTM is in place, you can add GA4 events, Clarity, Facebook Pixel, LinkedIn Insight Tag, and any other tracking script through the GTM interface without developer involvement. This is especially useful for marketing teams who need to add tracking for campaigns.
What Metrics Actually Matter – By Site Type
Blog / Content Site
| Metric | Why It Matters | Target |
|---|---|---|
| Scroll depth | Are people actually reading your content? | 60%+ scrolling past 75% |
| Average engagement time per session | GA4’s replacement for time-on-page – more accurate | 2+ minutes for long-form posts |
| Pages per session | Are readers exploring more content? | 2+ pages per session |
| Organic search clicks | GSC clicks – your primary growth engine | Increasing month over month |
| Email signups | Converting readers to a list you own | 1-3% of visitors |
For blogs, ignore absolute page view counts. A post with 200 views where 80% of readers scroll to the end and 5% subscribe is performing far better than a post with 2,000 views where everyone leaves in 10 seconds.
E-commerce Store
| Metric | Why It Matters | Target |
|---|---|---|
| Purchase conversion rate | Core business metric | 1-4% (varies heavily by niche) |
| Cart abandonment rate | How many people add to cart but do not buy | Under 70% (industry avg is 70-80%) |
| Average order value (AOV) | How much each buyer spends | Track trend, not absolute |
| Revenue per visitor | Combines conversion rate and AOV | Track trend |
| Checkout funnel drop-off | Where in checkout do people abandon | Minimize each step |
| Product page conversion rate | Which products convert best | Compare across products |
SaaS Product
| Metric | Why It Matters |
|---|---|
| Trial-to-paid conversion rate | Core product health metric |
| Monthly recurring revenue (MRR) | Business health – tracked outside analytics usually |
| User activation rate | What % of signups complete a key first action |
| Feature adoption by cohort | Which features do retained users use? |
| 30/60/90-day retention | Are people still using the product? |
| NPS or CSAT score | Combine with analytics for full picture |
Community Platform
- DAU/MAU ratio – Daily Active Users divided by Monthly Active Users. A ratio above 20% indicates a sticky community. Below 10% is a warning sign.
- Posts per active member per month – Are members actually contributing?
- Member-to-member replies vs admin replies – Healthy communities have members answering each other
- New member activation – What % of new signups make their first post within 7 days?
- Churn by plan type – For paid communities, which tier has lowest churn?
Lead Generation Site
- Form submission rate – Primary conversion metric
- Call tracking – If you have a phone number, use call tracking software (CallRail, WhatConverts) to attribute calls to traffic sources
- Lead quality rate – Track in your CRM, feed back into analytics via custom events or offline conversion imports
- Cost per lead by channel – If running paid traffic, this is your north star metric
- Landing page conversion rate – Test, optimize, repeat
UTM Parameters: Tracking Your Traffic Sources Properly
UTM parameters are tags you add to URLs to tell analytics tools where traffic came from. Without them, a lot of traffic shows up as “direct” in GA4, which is essentially untracked – you have no idea what drove those visits.
A UTM-tagged URL looks like this:
https://yoursite.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=march-launch
The five UTM parameters:
| Parameter | Purpose | Example Values |
|---|---|---|
| utm_source | Where the traffic comes from | newsletter, google, facebook, twitter |
| utm_medium | The marketing channel type | email, cpc, social, organic |
| utm_campaign | Specific campaign name | march-launch, black-friday, welcome-series |
| utm_content | Distinguish between ads/links in same campaign | header-cta, sidebar-banner, button-a |
| utm_term | Paid search keyword | wordpress-plugins, buy-crm |
Use Google’s Campaign URL Builder (ga-dev-tools.google.com/campaign-url-builder) or UTM.io to generate tagged URLs consistently. Create a naming convention document and share it with everyone who creates links – inconsistent UTM values make analytics data useless.
Attribution Modeling Basics
Attribution modeling answers the question: which marketing touchpoint gets credit for a conversion? A user might see your Facebook ad, read a blog post via Google search, open your newsletter, and then finally buy after clicking a direct link. Which channel deserves credit?
| Model | How Credit Is Assigned | Best For |
|---|---|---|
| Last click | 100% to the last touchpoint | Simple attribution, direct response |
| First click | 100% to the first touchpoint | Awareness campaigns |
| Linear | Equal credit across all touchpoints | Long sales cycles |
| Data-driven | ML-based, varies by actual conversion patterns | GA4 default for sufficient data |
| Position-based | 40% first, 40% last, 20% spread across middle | Valuing both acquisition and close |
GA4 uses data-driven attribution by default when you have enough conversion data (500+ conversions per month). For most small and medium websites, last-click attribution is the practical choice – just be aware it undervalues top-of-funnel channels like content marketing and social media.
Cookie Consent and Analytics
If you are collecting cookies from EU/EEA visitors (which GA4 does), you need a GDPR-compliant consent management platform (CMP). This affects your analytics data in a significant way: typically 30-50% of users decline cookies, which means your GA4 data reflects only users who consented.
GA4 has a “Consent Mode” feature that uses behavioral modeling to fill in gaps when consent is not given – it estimates the conversions you would have seen from non-consenting users based on patterns from consenting ones. To use this, your CMP must support Google Consent Mode v2.
The practical alternative: run Plausible or Fathom alongside GA4. These tools do not require consent in most jurisdictions, so you get a more complete picture of actual traffic volume, even if the behavioral depth is less than GA4.
Server-Side Tracking
Traditional analytics use client-side JavaScript. Ad blockers and privacy tools block these scripts, and browser-side tracking is increasingly restricted by browsers themselves (Safari’s ITP, Firefox’s ETP). Server-side tracking moves the data collection to your server, bypassing these restrictions.
GA4 supports server-side tagging through Google Tag Manager’s server container. Setup is more technical – you need a server to run the container on (a $15/month VPS works) – but you get more reliable data and can strip personally identifiable information before sending to GA4, which helps with GDPR compliance.
Server-side tracking is worth considering when: your ad spend is significant (and you need accurate conversion data for optimization), you see a large gap between server-side traffic counts and GA4 numbers, or you are operating in a privacy-sensitive niche.
Avoiding Analysis Paralysis
The single biggest mistake with analytics is adding more dashboards without adding more clarity. Here is a framework for keeping things sane:
- Pick 3-5 metrics that reflect your main goal and review them weekly. Everything else is context.
- Create one custom dashboard in GA4 or Looker Studio that shows only those 3-5 metrics. Check that first, every time.
- Set up alerts in GA4 (Admin > Alerts) for significant drops in key events. This means you do not need to check dashboards daily – alerts come to you.
- Make one decision per week based on data. Analytics is only valuable if it changes what you do.
- Scheduled reports for weekly review – Looker Studio can email reports automatically on a schedule.
Data without a decision is just noise. Before adding any metric to your dashboard, ask: what would I do differently if this number went up vs. down? If you cannot answer that, do not track it.
Your Analytics Setup Checklist
- GA4 property created and tracking code installed (via GTM or direct)
- 3-8 key events marked as conversions
- Google Search Console verified and sitemap submitted
- Search Console linked to GA4
- Heatmaps active on key pages (Clarity or Hotjar)
- Privacy-first analytics added if serving EU users (Plausible/Fathom/Matomo)
- UTM naming convention documented and shared with team
- Custom dashboard built with site-type-appropriate metrics
- Weekly analytics review scheduled in calendar
- Alerts set for significant conversion drops
Series Navigation
This post is part of the Website Owner’s Toolkit – a 21-part series covering every essential service your website needs.
Return to the series hub: Essential Services Every Website Owner Needs (Complete Guide)
Related posts in this series:
