Google Ads Tracking with Narrowbeam
Track Google Ads performance with 100% visitor coverage and zero cookie banners. Get accurate conversion data without compromising privacy or requiring consent prompts.
The Privacy-Data Quality Dilemma
If you're running Google Ads campaigns today, you're likely facing a tough choice: either deploy cookie consent banners and lose 20-30% of your tracking data, or skip the banners and risk compliance issues.
Google Analytics 4 with consent mode enabled can underreport conversions by 20% or more because visitors reject tracking cookies. That means you're making advertising decisions based on incomplete data—spending money without knowing what's actually working.
Narrowbeam solves this problem. By tracking sessions server-side without cookies or personal data, you get complete, accurate campaign performance data while staying GDPR and CCPA compliant—no consent banners required.
Why Narrowbeam for Google Ads?
Simpler Setup
Unlike other privacy-first analytics tools, Narrowbeam automatically captures UTM parameters AND Google's ad click IDs (gclid, wbraid, gbraid). Use tracking templates for one-time setup—zero per-ad configuration required.
100% Data Coverage
No consent banners means no data loss. Track every visitor, every session, every conversion—without asking permission or storing personal data.
Built-In Funnel Analysis
Track multi-step conversion funnels (2-10 steps) out of the box. See exactly where visitors drop off between ad click and conversion, no external tools required.
Privacy-First by Design
GDPR and CCPA compliant from day one. No cookies, no fingerprinting, no personal data collection. Privacy isn't a feature—it's the foundation.
How Google Ads + Narrowbeam Works Together
Narrowbeam's Google Ads tracking is built on four key principles:
- Automatic UTM capture: UTM parameters (source, medium, campaign, term, content) are automatically extracted from every URL and tied to sessions.
- Custom event tracking: Define conversions using simple button clicks, form submissions, or page views—no complex configuration.
- Session-based attribution: Last-touch attribution connects conversions to the campaigns that drove them, all without tracking individual users.
- Real-time visibility: See campaign performance instantly in your dashboard—no data sampling, no delays.
Automatic Google Ads Detection
Narrowbeam automatically detects Google Ads traffic via gclid, wbraid, and gbraid parameters—even without UTM tags. For best results and campaign-level tracking, we recommend using tracking templates (see Step 2).
Setting Up Google Ads Tracking
Step 1: Install Narrowbeam
First, make sure Narrowbeam is installed on your website. If you haven't already, follow our Quickstart Guide to get the tracking script on your site.
Verify that page views are being tracked by checking your Narrowbeam dashboard—you should see visits appearing in real-time.
Step 2: Configure Google Ads Tracking Template
Narrowbeam automatically detects Google Ads traffic via click IDs (gclid, wbraid, gbraid), but to track individual campaigns, keywords, and ad groups, you'll need to add a tracking template. This is a one-time setup that takes less than 2 minutes.
Recommended: Account-Level Tracking Template
The best approach is to set a tracking template at the account level in Google Ads. This automatically applies to all current and future campaigns—no per-campaign configuration needed.
Step-by-step instructions:
- Log into Google Ads at ads.google.com
- Click on Admin (in the left sidebar or main menu)
- Click Account Settings
- Expand the Tracking section
- In the Tracking template field, paste the following URL template:
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={adgroupid}What this template does:
{lpurl}- Inserts your final landing page URLutm_source=google- Identifies traffic as coming from Googleutm_medium=cpc- Marks it as paid cost-per-click traffic{campaignid}- Automatically inserts the Google Ads campaign ID{keyword}- Captures the keyword that triggered the ad{adgroupid}- Captures the ad group ID for granular analysis
Campaign Names vs. Campaign IDs
We use {campaignid} instead of {campaign}because IDs are stable (names can change). You'll see campaign IDs like "12345678" in your Narrowbeam dashboard. To make these readable, use descriptive campaign names in Google Ads—they'll be visible when you cross-reference.
- Click Save
- Test the setup (see verification instructions below)
Alternative: Campaign-Level Tracking Template
If you prefer to configure tracking per-campaign (or if your Google Ads account doesn't allow account-level templates), you can add the same template at the campaign level:
- In Google Ads, select a campaign
- Click Campaign Settings
- Expand Campaign URL options
- Paste the same tracking template in the Tracking template field
- Click Save
- Repeat for each campaign
Pro Tip: Use Descriptive Campaign Names
Since Narrowbeam tracks campaign IDs (not names), give your Google Ads campaigns clear, descriptive names like "Brand-Keywords-2024-Q4" or "Competitor-Terms-Holiday-Sale". This makes it easy to identify campaigns when cross-referencing between Google Ads and Narrowbeam.
Step 3: Set Up Conversion Tracking
Define what counts as a "conversion" for your Google Ads campaigns. Narrowbeam supports multiple conversion types:
Page view conversions: Track when visitors reach a specific page (e.g., "/thank-you" or "/checkout/complete"). These are automatically tracked—just filter your dashboard by the page path.
Custom event conversions: Track button clicks, form submissions, or any custom action using Narrowbeam's event tracking. See our Custom Event Tracking guide for details.
Example: Track a "Sign Up" button click:
<button data-narrowbeam-action-name="signup-clicked">
Sign Up
</button>Step 4: Analyze Your Campaigns in the Dashboard
Once your campaigns are running and conversions are being tracked, create dashboard widgets to analyze performance:
- Create a Campaign Performance widget:
- Add a "Top List" widget
- Group by
utm_campaign - Measure:
visitsandvisitors - Filter:
utm_source equals google
- Track conversions by campaign:
- Add another "Top List" widget
- Group by
utm_campaign - Measure:
actions - Filter:
action_name equals signup-clickedANDutm_source equals google
- Create a conversion funnel:
- Add a "Funnel" widget
- Step 1:
utm_source equals google(ad click landing) - Step 2:
url_path contains /pricing - Step 3:
action_name equals signup-clicked - See conversion rates between each step
Analyzing Your Ad Performance
With UTM tracking and conversion events in place, you can answer critical questions about your Google Ads campaigns:
- Which campaigns drive the most conversions? Group by
utm_campaignand measureactions. - What's my conversion rate by campaign? Compare
visitsvs. conversionactionsfor each campaign. - Which landing pages convert best? Group by
url_pathand filter byutm_source=google. - Where do visitors drop off? Use funnel analysis to see step-by-step conversion rates from ad click to final conversion.
- How is performance trending over time? Create timeseries widgets filtered by campaign to track performance day by day.
Multi-dimensional analysis example: Group by both utm_campaign AND url_path to see which campaigns are driving traffic to which landing pages and how those combinations perform.
Best Practices
Campaign Naming Conventions
Use consistent, descriptive campaign names that will make sense in your dashboard:
- Bad:
campaign1,test,new-campaign - Good:
brand-keywords-2024,competitor-terms-q1,spring-sale-shopping
Understanding Campaign IDs vs. Campaign Names
Narrowbeam tracks campaign IDs (e.g., "12345678") rather than campaign names because IDs are stable—if you rename a campaign in Google Ads, the ID stays the same, preserving your historical data.
How to map IDs to campaigns:
- In Google Ads, go to Campaigns and find your campaign
- The campaign ID appears in the URL when you click on the campaign (e.g.,
campaignId=12345678) - Keep a simple spreadsheet mapping campaign IDs to descriptive names:
- 12345678 → Brand Keywords Q4 2024
- 23456789 → Competitor Terms Holiday Sale
- 34567890 → Product Launch Broad Match
Alternatively, use Google Ads' campaign naming as your source of truth—when you see an ID in Narrowbeam, just reference your Google Ads dashboard to see what that campaign is currently named.
Testing UTM Tags Before Launch
Before launching a campaign, test your UTM-tagged URLs to make sure parameters are being captured:
- Visit your landing page with the full UTM-tagged URL in a browser
- Check your Narrowbeam dashboard (filter by recent visits)
- Verify that
utm_source,utm_medium, andutm_campaignappear correctly
Dashboard Organization Tips
- Create separate dashboard views for each major campaign or campaign group
- Set dashboard-level filters (e.g.,
utm_source=google) to isolate Google Ads traffic - Use timeseries widgets to monitor performance trends over your campaign duration
- Set up funnel widgets early so you have historical conversion data to analyze
Regular Reporting Cadence
Check your Google Ads performance in Narrowbeam at consistent intervals:
- Daily: Monitor overall spend, visits, and conversion volume
- Weekly: Analyze campaign-level performance, identify winners and losers
- Monthly: Deep-dive into funnel performance, landing page effectiveness, and multi-dimensional analysis
Related Resources
UTM Campaign Tracking
Deep dive into how UTM parameters work in Narrowbeam and advanced filtering techniques
Custom Event Tracking
Learn how to track button clicks, form submissions, and custom actions as conversion events
Quickstart Guide
Get Narrowbeam installed on your website in 30 seconds
Need Help?
Email us at support@narrowbeam.io for personalized assistance with your Google Ads tracking setup