What is Digital Marketing Analytics?
Digital marketing analytics is the practice of measuring, collecting, analyzing, and reporting digital data to understand and optimize marketing performance. At its core, analytics answers the fundamental question every marketer must answer: "Is our marketing working, and how can we make it better?"
Google Analytics 4 (GA4) is the industry standard for web analytics, used by over 30 million websites worldwide. It replaced Universal Analytics in July 2023 with a completely redesigned, event-based data model.
Chapter 1: Google Analytics 4 (GA4) Fundamentals
How GA4 is Different
GA4 represents a fundamental shift from the previous Universal Analytics:
- Event-based model: Everything is an event (page views, clicks, scrolls, purchases) — no more sessions-first thinking
- Cross-platform tracking: Track users across web and app in one property
- Machine learning: Built-in predictive metrics (purchase probability, churn probability)
- Privacy-first: Designed for a cookieless future with modeled data
- BigQuery integration: Free raw data export for advanced analysis
Key GA4 Concepts
- Events: The foundation of GA4 data — every interaction is an event
- Parameters: Additional details about events (e.g., page_title, link_url)
- User Properties: Attributes of users (e.g., subscription_status, language)
- Conversions: Events marked as important business outcomes
- Audiences: Groups of users defined by conditions and behaviors
Chapter 2: Essential GA4 Setup
Step-by-Step Setup
- Create a GA4 property in your Google Analytics account
- Install the GA4 tag via Google Tag Manager (recommended) or directly in your site's HTML
- Configure enhanced measurement (automatically tracks page views, scrolls, outbound clicks, site search, video engagement, file downloads)
- Set up cross-domain tracking if you have multiple domains
- Link Google Search Console for organic search data
- Link Google Ads for campaign performance data
- Configure data retention (set to 14 months)
Essential Events to Track
- generate_lead: Form submissions, contact requests
- purchase: E-commerce transactions with revenue data
- sign_up: Account creation, newsletter subscriptions
- file_download: PDF downloads, resource downloads
- scroll: Track if users read past 90% of content
- click: CTA clicks, outbound link clicks
Chapter 3: Key Metrics Every Marketer Should Track
Acquisition Metrics
- Users: Total unique visitors (active users in GA4)
- New Users: First-time visitors — measures reach of awareness campaigns
- Sessions: Total visits — measures engagement frequency
- Traffic Sources: Where users come from (organic, paid, social, direct, referral)
- User Acquisition Cost: Total marketing spend ÷ new users acquired
Engagement Metrics
- Engagement Rate: % of engaged sessions (GA4 counts sessions lasting 10+ seconds, having 2+ pageviews, or a conversion event)
- Average Engagement Time: How long users actively interact with your site
- Pages per Session: How deep users explore your content
- Scroll Depth: How far users scroll down content pages
Conversion Metrics
- Conversion Rate: Users who complete a goal ÷ total users
- Cost Per Conversion: Total spend ÷ number of conversions
- Revenue: Total revenue from e-commerce or lead value
- ROAS (Return on Ad Spend): Revenue generated ÷ ad spend
Chapter 4: Building Custom Reports
GA4 Explorations
GA4's Explorations feature lets you build custom reports beyond the standard interface:
- Free Form: Custom tables and charts with drag-and-drop dimensions and metrics
- Funnel Exploration: Visualize user journeys through conversion funnels
- Path Exploration: See the pages and events users navigate through
- Segment Overlap: Compare behavior of different user segments
- Cohort Analysis: Track user behavior over time by acquisition date
Chapter 5: Data-Driven Decision Making
The HEART Framework
Google's HEART framework for measuring user experience:
- Happiness: User satisfaction (surveys, NPS scores)
- Engagement: Depth and frequency of interaction
- Adoption: New users completing onboarding
- Retention: Users returning over time
- Task Success: Users completing their intended goals
Attribution Models
GA4 uses data-driven attribution by default, which uses machine learning to determine the credit each touchpoint deserves for a conversion. Understanding attribution helps you allocate budget to the most effective channels.
Getting Started Checklist
- Set up GA4 with Google Tag Manager
- Configure enhanced measurement + custom events
- Mark your key conversions
- Link Search Console + Google Ads
- Create a weekly reporting dashboard
- Review data weekly, optimize monthly, strategy quarterly