The Complete Analytics & Attribution Guide
If you cannot measure it, you cannot improve it. Learn how to set up proper analytics and attribution to track what is working, prove ROI, and make data-driven marketing decisions.
Quick Tips
- Set up goal tracking for calls, form submissions, and chat in GA4 before measuring anything else
- Use UTM parameters on every link you share — without them, you can't attribute leads to specific campaigns
- Track cost-per-lead by channel monthly — it reveals which marketing investments actually pay off
Why Analytics and Attribution Matter
Analytics and attribution are the foundation of data-driven marketing. Without them, you are making decisions based on guesses, gut feelings, and vanity metrics. With them, you know exactly what is working, what is not, and where to invest your next marketing dollar.
For local businesses, this is especially important because marketing budgets are finite. Every dollar spent on a channel that does not generate leads is a dollar that could have been spent on one that does. Analytics and attribution give you the visibility to make those decisions with confidence.
Setting Up Google Analytics 4
Google Analytics 4 (GA4) is the primary analytics platform for most local businesses. It is free, powerful, and integrates with the rest of Google’s marketing ecosystem.
Essential GA4 Setup Steps
- Create a GA4 property in your Google Analytics account
- Install the tracking code on every page of your website (via Google Tag Manager or direct installation)
- Configure data streams for your website (and mobile app if applicable)
- Set up conversion events for form submissions, phone clicks, and other lead actions
- Enable enhanced measurement for automatic scroll, outbound click, and file download tracking
- Link Google Search Console to see organic search queries in your analytics reports
- Link Google Ads if you run paid search campaigns
Key Reports to Monitor
- Acquisition overview — where your traffic comes from (organic, paid, social, direct, referral)
- Landing page report — which pages visitors arrive on first and how they perform
- Engagement report — time on page, scroll depth, and user interactions
- Conversion report — which pages and channels generate the most leads
- User flow — how visitors navigate through your site toward conversion
Conversion Tracking Setup
Tracking every conversion type is essential for accurate attribution and ROI measurement.
Form Submissions
Track form submissions as conversion events in GA4. The simplest method is tracking the thank-you page URL that appears after submission. Alternatively, use Google Tag Manager to fire an event when a form is successfully submitted. Test your tracking after setup — submit a test form and verify the conversion appears in your reports.
Phone Call Tracking
For local businesses, phone calls are often the most valuable conversion type. Set up call tracking at two levels:
- Website call tracking — use dynamic number insertion (DNI) via tools like CallTrackingMetrics to track which pages and sources drive phone calls from your website
- GBP call tracking — Google Business Profile reports show calls directly from your listing, but for source-level attribution, a call tracking service like CallRail provides more detail
Other Conversion Types
- Chat conversations — track chat widget interactions as conversion events
- Direction requests — track clicks on Google Maps links or direction buttons
- Email clicks — track clicks on mailto: links as events
- Online bookings — if you use a scheduling tool, track completed bookings
UTM Tracking
UTM parameters tag your marketing links so you can track exactly where each click originated:
The Five UTM Parameters
- utm_source — the platform (google, facebook, newsletter, yelp)
- utm_medium — the marketing medium (cpc, email, social, referral)
- utm_campaign — the specific campaign name (spring-promo, brand-awareness, retargeting)
- utm_term — the keyword (for paid search, optional)
- utm_content — the specific ad or link variant (header-cta, sidebar-banner, optional)
UTM Best Practices
- Use consistent naming conventions — lowercase, hyphens between words
- Document your UTM structure in a shared reference
- Tag every non-organic link: email links, social posts, ad campaigns, directory listings
- Never use UTMs on internal links (they create new sessions and corrupt your data)
- Use Google’s Campaign URL Builder to generate tagged URLs
Attribution Models
Attribution determines how credit for a conversion is assigned when a customer interacts with multiple touchpoints before converting.
Common Attribution Models
- Last click — gives all credit to the last touchpoint before conversion. Simple but ignores the full journey
- First click — gives all credit to the first touchpoint. Highlights discovery channels but ignores conversion drivers
- Linear — distributes credit equally across all touchpoints. Fair but does not identify which touchpoints are most influential
- Data-driven — uses machine learning to assign credit based on actual conversion patterns. The most accurate model, and GA4’s default
Which Model to Use
GA4 uses data-driven attribution by default, which is the best option for most businesses. It analyzes your actual conversion data to determine how much credit each touchpoint deserves. For simple businesses with one main channel, attribution models matter less. For businesses with multiple traffic sources, data-driven attribution provides the most accurate picture.
Building a Reporting Framework
Data without reporting is data without decisions. Build a reporting framework that turns numbers into actions.
Monthly Reports Should Include
- Traffic overview — total sessions, users, and page views by channel
- Conversion summary — total leads by type (forms, calls, chat) and source
- Channel performance — organic, paid, social, direct, and referral traffic and conversions
- Top landing pages — which pages attract the most traffic and conversions
- Keyword performance — ranking changes and organic traffic by keyword
- ROI calculation — revenue attributed to each channel vs. investment in that channel
Quarterly Reports Should Add
- Trend analysis — traffic and conversion trends over the past 12 months
- Competitive benchmarking — how your visibility compares to competitors
- Strategy review — what worked, what did not, and what to adjust
- Budget recommendations — where to increase or decrease investment based on channel ROI
Proving ROI
The ultimate purpose of analytics and attribution is proving that your marketing investment generates a positive return.
The ROI Formula for Local SEO
- Count total organic conversions per month (forms + calls + other tracked leads)
- Multiply by your close rate (the percentage of leads that become customers)
- Multiply by your average customer value
- Compare against your monthly SEO investment
Example: 60 organic leads × 25% close rate = 15 new customers × $1,500 average value = $22,500 monthly revenue from SEO. Against a $3,000/month SEO investment, that is a 7.5x return. This formula is simple, defensible, and compelling for any stakeholder.
Analytics and attribution transform marketing from an expense into a measurable investment. Set them up correctly, review them consistently, and they become the compass that guides every marketing decision. For help setting up your analytics and attribution framework, explore our Analytics & Attribution Service or book a strategy audit.
Key Takeaways
- Analytics tells you what is happening on your website — attribution tells you why and which channels deserve credit
- Google Analytics 4 (GA4) is essential for every local business — it tracks user behavior across your entire site
- Conversion tracking must cover all lead types: form submissions, phone calls, chat, and direction requests
- Call tracking is critical for local businesses — phone leads often outnumber form leads by 3:1 or more
- Multi-channel attribution shows the full customer journey, not just the last click before conversion
- UTM parameters let you track the exact source of every click from emails, social, and campaigns
- Regular reporting turns data into decisions — monthly reviews keep your marketing accountable
- Attribution proves ROI, which protects your marketing budget and justifies further investment
Industry-Specific Tracking & Conversion Guides
Explore tracking & conversion strategies tailored to your industry and business type.