Marketing Analytics Setup: Track What Actually Matters
A practical guide to setting up marketing analytics that track revenue, not vanity metrics. Covers GA4 configuration, UTM strategy, attribution models, dashboards, and the metrics that drive decisions.
Most businesses have analytics installed. Few businesses have analytics configured to answer the questions that actually matter: which marketing channels generate revenue, what is the true cost of acquiring a customer, and where should the next dollar go?
The difference between having analytics and having useful analytics is configuration. Out-of-the-box Google Analytics tracks pageviews and sessions — neither of which pays invoices. A properly configured analytics stack tracks the entire journey from first touch to closed deal, attributes revenue to the campaigns that influenced it, and surfaces the data your team needs to make budget decisions.
This guide walks through the complete analytics setup: what to track, how to configure it, and how to build dashboards that drive action.
The Analytics Stack
A complete marketing analytics setup has four layers:
Layer 1: Collection — capturing user behavior data (GA4, Meta Pixel, LinkedIn Insight Tag) Layer 2: Attribution — connecting touchpoints to conversions (UTM parameters, CRM integration) Layer 3: Reporting — surfacing insights in dashboards (Looker Studio, spreadsheets, BI tools) Layer 4: Action — using data to make budget and strategy decisions
Most companies stop at Layer 1 and wonder why their analytics are not useful.
Layer 1: Data Collection Setup
Google Analytics 4 (GA4) Configuration
GA4 is the foundation. Here is how to configure it beyond the default installation:
Step 1: Property and data stream setup
- Create a GA4 property for your website
- Add the data stream (web)
- Install the GA4 tag via Google Tag Manager (GTM) — not hardcoded on the site
- Enable Enhanced Measurement (tracks scrolls, outbound clicks, site search, video engagement, and file downloads automatically)
Step 2: Configure events that matter
GA4 tracks three types of events:
- Automatically collected — page_view, first_visit, session_start (these work out of the box)
- Enhanced Measurement — scroll, click, video_start, file_download (enable in data stream settings)
- Custom events — these are what separate useful analytics from default analytics
Custom events to configure:
| Event Name | Trigger | Why It Matters |
|---|---|---|
generate_lead | Form submission (contact, quote request) | Primary conversion tracking |
phone_call_click | Click on phone number link | Tracks call intent |
email_click | Click on email address link | Tracks email contact intent |
cta_click | Click on any primary CTA button | Measures CTA effectiveness by page |
pricing_page_view | View of pricing or packages page | Indicates high purchase intent |
scroll_depth_75 | User scrolls 75% of page | Measures content engagement quality |
video_complete | User watches 100% of an embedded video | Measures video content effectiveness |
chat_initiated | User opens live chat widget | Tracks chat as a conversion path |
Step 3: Set up conversions
Mark your most important events as conversions in GA4. At minimum:
- Form submissions (
generate_lead) - Phone call clicks
- Chat initiations
- Purchases (for e-commerce)
GA4 allows up to 30 conversion events. Use them strategically — every form, call, and purchase event should be a conversion.
Step 4: Configure audiences
Build audiences in GA4 for remarketing and analysis:
- High-intent visitors — viewed pricing page OR visited 3+ service pages in one session
- Blog engaged — visited 3+ blog posts in 30 days
- Abandoned form — started but did not complete a form
- Recent converters — submitted a form in the last 30 days (exclude from acquisition campaigns)
These audiences feed into Google Ads remarketing and help segment your reporting.
Google Tag Manager (GTM) Setup
GTM is the control center for all your tracking tags. Never add tracking scripts directly to your site code — use GTM for manageability and performance.
Essential GTM configuration:
- GA4 Configuration tag (fires on all pages)
- GA4 Event tags for each custom event listed above
- Meta Pixel tag (if running Facebook/Instagram ads)
- LinkedIn Insight Tag (if running LinkedIn ads)
- Google Ads Conversion Tracking tag
- Google Ads Remarketing tag
GTM triggers to configure:
- Form submission triggers (generic CSS selector or specific form IDs)
- Phone number click trigger (click URL contains "tel:")
- CTA button click triggers (CSS class or data attribute)
- Scroll depth triggers (25%, 50%, 75%, 90%)
- Timer triggers for time-on-page tracking
GTM variables to set up:
- Page URL, Page Path, Page Title (built-in)
- Click URL, Click Text, Click Classes (built-in)
- Custom JavaScript variables for dynamic values (form field values, product names)
- Data Layer variables for e-commerce tracking
Meta Pixel and Conversions API
If you run Meta (Facebook/Instagram) ads, you need both:
Meta Pixel: JavaScript snippet that fires on page load and tracks user actions. Install via GTM. Configure standard events: PageView, Lead, Purchase, AddToCart, ViewContent.
Conversions API (CAPI): Server-side tracking that sends event data directly from your server to Meta. This compensates for browser-based tracking limitations from iOS privacy changes and ad blockers. Implementation options:
- Meta's partner integrations (Shopify, WordPress plugins)
- Server-side GTM container
- Custom API integration
Running both Pixel and CAPI with deduplication provides the most complete data. Meta uses both signals to optimize ad delivery and attribution.
Layer 2: Attribution Setup
Attribution answers the critical question: which marketing efforts deserve credit for a conversion?
UTM Parameter Strategy
UTM parameters are tags added to URLs that tell your analytics where traffic came from. Without them, you are guessing.
The five UTM parameters:
utm_source— the platform (google, facebook, linkedin, newsletter)utm_medium— the channel type (cpc, organic, social, email)utm_campaign— the specific campaign nameutm_term— the keyword (primarily for paid search)utm_content— differentiates ad variations or link placements
UTM naming conventions (critical — pick a system and stick to it):
- Use lowercase only (GA4 is case-sensitive: "Facebook" and "facebook" create separate entries)
- Use hyphens instead of spaces or underscores
- Be consistent: always "google" not sometimes "Google" or "google.com"
- Include the date or quarter in campaign names for easy filtering
Example UTM structures:
Google Ads:
?utm_source=google&utm_medium=cpc&utm_campaign=seo-services-q1-2026&utm_term=seo+agency&utm_content=ad-variant-a
LinkedIn Ad:
?utm_source=linkedin&utm_medium=cpc&utm_campaign=b2b-webinar-march-2026&utm_content=carousel-ad
Email Newsletter:
?utm_source=newsletter&utm_medium=email&utm_campaign=weekly-digest-2026-03-15&utm_content=cta-button
Use a UTM builder spreadsheet. Create a shared document where your team logs every UTM-tagged URL. This prevents inconsistent naming and makes campaign analysis possible. Google's Campaign URL Builder works for individual links, but a master spreadsheet is essential at scale.
Attribution Models in GA4
GA4 uses data-driven attribution by default, which distributes credit across touchpoints based on machine learning analysis of your conversion data. This is a significant improvement over the old last-click model, but you should understand the alternatives:
Last-click attribution: 100% credit to the last touchpoint before conversion. Simple but misleading — it ignores all the marketing that created awareness and consideration.
First-click attribution: 100% credit to the first touchpoint. Useful for understanding what initially attracts customers.
Data-driven attribution (GA4 default): Algorithmically distributes credit based on the actual impact of each touchpoint. Requires sufficient conversion volume to be accurate (typically 300+ conversions per month).
Linear attribution: Equal credit to every touchpoint. Simple and fair but does not reflect reality — some touches matter more than others.
For most businesses: Use GA4's data-driven model as your primary view. Supplement with first-click analysis to understand acquisition effectiveness and last-click analysis to understand closing effectiveness.
CRM Integration
Analytics tells you what happened on your website. Your CRM tells you what happened after the form submission — which leads became opportunities, which opportunities closed, and how much revenue they generated.
Connecting the two is essential for true ROI measurement.
Minimum viable CRM integration:
- Pass UTM parameters from landing page URLs into hidden form fields
- Submit those UTM values along with the lead's contact information to your CRM
- When a deal closes, the CRM record contains the original UTM data — you now know which campaign generated the revenue
Advanced integration:
- Sync GA4 Client ID with CRM records for full journey stitching
- Import CRM conversion data back into GA4 and Google Ads for offline conversion tracking
- Use Google Ads' offline conversion imports to feed closed-deal data back into the ad platform's optimization algorithm
This loop — ad click → website visit → form submission → CRM lead → closed deal → data imported back to ad platform — is how sophisticated advertisers optimize for revenue, not just leads.
Layer 3: Reporting Dashboards
Raw data is useless without context. Dashboards translate data into decisions.
Dashboard 1: Executive Overview (Weekly Review)
This dashboard answers: "How is marketing performing overall?"
Metrics to include:
- Total leads generated (this week, vs. last week, vs. same week last year)
- Cost per lead by channel
- Pipeline value generated
- Revenue attributed to marketing
- Marketing ROI (revenue / spend)
- Top 5 performing campaigns by leads and revenue
Tool: Looker Studio (free, connects directly to GA4 and Google Ads) or your BI tool of choice.
Dashboard 2: Channel Performance (Weekly/Biweekly Review)
This dashboard answers: "Which channels deserve more budget?"
For each channel (organic, paid search, paid social, email, referral):
- Traffic volume and trend
- Conversion rate
- Cost per lead
- Lead-to-customer conversion rate (requires CRM data)
- Customer acquisition cost
- Revenue per channel
Include a comparison view — month over month and year over year — to identify trends rather than just snapshots.
Dashboard 3: Content Performance (Monthly Review)
This dashboard answers: "Which content drives business results?"
Metrics per content piece:
- Organic sessions
- Time on page and engagement rate
- Conversions (forms, signups) attributed to the content
- Keyword rankings and ranking changes
- Backlinks earned
Sort by conversions, not pageviews. A blog post with 500 visits and 25 leads is more valuable than a post with 5,000 visits and zero leads.
Dashboard 4: Campaign Drill-Down (Per Campaign)
This dashboard answers: "Is this specific campaign working?"
Metrics:
- Impressions, clicks, CTR
- CPC and total spend
- Landing page conversion rate
- Leads generated and cost per lead
- Lead quality (if CRM-connected): MQL rate, opportunity rate, close rate
- ROAS or revenue per campaign
Build this as a template. Every new campaign gets its own drill-down view following the same format.
Layer 4: Turning Data Into Decisions
Dashboards are only useful if they change behavior. Here is how to build a data-driven decision process:
Weekly Marketing Standup (15 minutes)
Review the Executive Overview dashboard. Ask three questions:
- What performed better than expected this week? (Double down)
- What underperformed? (Investigate or cut)
- What are we testing next week?
Monthly Budget Reallocation
Review Channel Performance dashboard. Shift budget toward channels with the lowest cost per acquisition and highest revenue per dollar. This sounds obvious, but most companies set budgets annually and never adjust — even when the data clearly shows one channel outperforming another by 3x.
Quarterly Strategy Review
Review Content Performance and long-term trend data. Ask:
- Which topics and formats generate the most business value?
- Which channels are trending up vs. down?
- Where are the biggest gaps between current performance and potential?
- What new channels or tactics should we test?
Common Analytics Mistakes
Tracking everything, analyzing nothing. More data is not better data. Track the events that map to business outcomes. A custom event for every button click creates noise that obscures signal.
Not filtering internal traffic. Your own team's visits inflate traffic numbers and distort conversion rates. Set up IP filters or GA4's internal traffic rules on day one.
Ignoring cross-device journeys. A user who clicks a Google Ad on mobile, researches on desktop, and converts via email is one journey — but appears as three separate sessions in analytics without proper configuration. GA4's User-ID feature and Google Signals help stitch cross-device journeys.
Reporting on sessions instead of users. Sessions are an arbitrary time-based metric. Users represent actual people. Report on unique users, new users, and returning users for a more accurate picture.
No UTM discipline. One team member using utm_source=Facebook, another using utm_source=facebook, and a third using utm_source=fb fragments your data into three separate channels. Publish a UTM naming guide and enforce it.
Confusing correlation with causation. A traffic spike on the same day as a newsletter send does not prove the newsletter caused the spike — it could be a Google algorithm update, a Reddit post, or seasonal demand. Cross-reference multiple data points before attributing outcomes.
Analytics Tools Comparison
| Tool | Best For | Cost | Complexity |
|---|---|---|---|
| GA4 | Website analytics, event tracking | Free | Medium |
| Google Tag Manager | Tag management and event configuration | Free | Medium |
| Looker Studio | Dashboards and visualization | Free | Low-Medium |
| Semrush/Ahrefs | SEO analytics and keyword tracking | $99-449/month | Medium |
| HubSpot | CRM + marketing analytics (integrated) | Free-$3,600/month | Medium |
| Mixpanel | Product analytics, user behavior | Free-$28/month+ | Medium-High |
| Supermetrics | Data pipeline (pull from multiple sources) | $39-599/month | Medium |
| Hotjar/Clarity | Heatmaps, session recordings, user behavior | Free-$80/month | Low |
For most small to mid-size businesses, GA4 + GTM + Looker Studio + a CRM covers 90% of analytics needs at zero software cost.
Implementation Timeline
Week 1: Foundation
- Install GA4 via GTM
- Configure Enhanced Measurement
- Set up 5-10 custom events for key actions
- Mark conversions
- Install Meta Pixel and LinkedIn Insight Tag (if applicable)
Week 2: Attribution
- Create UTM naming convention document
- Tag all active campaign URLs
- Add hidden UTM fields to forms
- Verify data flows correctly from form → CRM
Week 3: Dashboards
- Build Executive Overview dashboard in Looker Studio
- Build Channel Performance dashboard
- Connect GA4, Google Ads, and Search Console as data sources
Week 4: Validation and Training
- Audit all tracking for accuracy (submit test forms, click test links)
- Filter internal traffic
- Train team on UTM usage and dashboard access
- Document the setup for future reference
If you need help building an analytics infrastructure that tracks real business outcomes, our digital marketing team handles the full setup — from GTM configuration through dashboard creation and team training. We also ensure your website is properly instrumented for accurate data collection.
Frequently Asked Questions
Is GA4 enough, or do I need additional analytics tools?
GA4 handles 80-90% of what most businesses need: traffic analysis, event tracking, conversion measurement, and audience building. You need additional tools for: SEO keyword tracking (Semrush or Ahrefs), heatmaps and session recordings (Hotjar or Microsoft Clarity — both have free tiers), and CRM-connected revenue attribution (HubSpot, Salesforce, or similar). Start with GA4 configured properly before adding tools. Most analytics problems are configuration problems, not tooling problems.
How do I track marketing ROI when my sales cycle is months long?
Use two-layer tracking. Layer 1: track immediate conversions in GA4 (form submissions, calls, chat) and attribute them to campaigns via UTM parameters. Layer 2: track downstream revenue in your CRM by preserving UTM data on lead records. When a deal closes 6 months later, the CRM record contains the original campaign source. Import closed-deal data back into Google Ads using offline conversion imports to optimize campaigns for revenue, not just leads. This creates a feedback loop that gets smarter over time.
What is the most important marketing metric to track?
Customer Acquisition Cost (CAC) by channel. This single metric tells you how much it costs to acquire a paying customer from each marketing channel. Calculate it by dividing total channel spend (ad spend + agency fees + tools + staff time) by the number of customers acquired from that channel. Compare CAC to Customer Lifetime Value (LTV) — if LTV is 3x or more than CAC, the channel is healthy. If CAC exceeds LTV, the channel is losing money regardless of how much traffic or leads it generates.
How often should I review marketing analytics?
Daily monitoring is unnecessary and leads to reactive decision-making based on normal variance. Weekly reviews of key metrics (leads, cost per lead, conversion rates) catch meaningful trends without noise. Monthly deep dives into channel performance and content effectiveness inform strategic decisions. Quarterly reviews of overall marketing ROI and budget allocation drive planning. The cadence matters less than the consistency — pick a schedule and stick to it for at least 6 months before you have enough trend data to make meaningful comparisons.
Ready to build an analytics setup that tracks what matters? Contact our team for a marketing analytics audit and implementation plan tailored to your business.
Need Help With Your Project?
Our team of experts is ready to help you build, grow, and succeed. Get a free consultation today.
Book Free Consultation