How to Use Google Analytics for Ad Campaigns
Running ad campaigns without tracking them in Google Analytics is like flying a plane blind. Your ad platform might tell you how many people clicked, but it can’t tell you what happened next. This article breaks down exactly how to use Google Analytics 4 with your advertising campaigns to see the full picture - from the first click to a final sale - and get the insights you need to improve your return on ad spend (ROAS).
Why Your Ad Platform Isn't Enough
You can see clicks, impressions, and cost-per-click right inside Facebook Ads Manager or Google Ads. So why bother checking another tool? Because the real story begins after the click.
Ad platforms are great at measuring actions that happen right there, like likes, shares, or leads captured through a native lead form. But once a user clicks through to your website, the ad platform loses visibility. Google Analytics picks up the trail and answers much more critical questions:
- Did the user bounce immediately, or did they actually engage with the content?
- Which pages did they visit?
- Did they sign up for your newsletter, add a product to their cart, or complete a purchase?
- How does traffic from a Facebook ad compare to traffic from an organic search or an email campaign?
By bringing this data into GA4, you get a single source of truth for all your marketing efforts. You can finally connect your ad spend to meaningful business outcomes and stop guessing which campaigns are actually working.
The Essential Setup: How to Track Your Campaigns Correctly
Before you can analyze your performance, you need to make sure GA4 is receiving the right data. This involves two key steps: linking your ad accounts directly and tagging your ad URLs properly.
1. Link Google Ads to Google Analytics 4
If you're running Google Ads, this is your first and most important step. Linking the two platforms allows data to flow between them automatically, giving you richer reporting capabilities you can't get otherwise.
Benefits of Linking:
- See Google Ads campaign data (clicks, cost, cost per conversion) directly within GA4 reports.
- Use your GA4 audiences in Google Ads for more powerful remarketing campaigns.
- Import your GA4 conversion events into Google Ads for more accurate conversion bidding.
How to link them (it takes less than 2 minutes):
- Log in to your Google Analytics account.
- Click on Admin (the gear icon) at the bottom left of your screen.
- In the Property column, click on Product Links > Google Ads Links.
- Click the blue Link button. Then click Choose Google Ads accounts and select the account you want to link.
- Click Confirm, then Next.
- Ensure the Enable Auto-Tagging option is checked. This is non-negotiable! Auto-tagging automatically adds the necessary tracking parameter (the GCLID) to your ad URLs.
- Click Next, then review your settings and click Submit.
That's it! It may take up to 24 hours for the data to fully sync, but you're now set up to track your Google Ads performance directly inside GA4.
2. Use UTM Parameters for All Non-Google Ads
For any ads you're running outside of Google's ecosystem - like Facebook, LinkedIn, TikTok, or email newsletters - you need to manually "tag" your URLs. You do this with UTM parameters.
UTM (Urchin Tracking Module) codes are simple text snippets you add to the end of a URL. They don't change the destination page, but they give Google Analytics precise information about where your traffic came from. A tagged URL looks something like this:
https://www.yourwebsite.com/?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale
There are five main UTM parameters, but three are essential for good tracking:
- utm_source: The platform the traffic came from (e.g.,
facebook,linkedin,tiktok). (Required) - utm_medium: The type of traffic. For paid ads, this is typically
cpc(cost-per-click) orpaid_social. (Required) - utm_campaign: The name of your specific campaign, like
q3_promoorsummer-sale-2024. This helps you differentiate performance. (Required) - utm_term: Used for paid search to identify specific ad keywords.
- utm_content: Used to differentiate between different ads pointing to the same URL (e.g.,
blue_button_advs.red_graphic_ad).
Pro Tip: Use Google's Campaign URL Builder
Building these URLs by hand is an invitation for typos and errors. A single mistake can lead to your data being miscategorized. Instead, use Google's free Campaign URL Builder tool. You simply enter your website URL and fill in the fields for each parameter, and it generates a perfectly formatted link for you to copy and paste into your ads.
Key Reports for Analyzing Ad Campaigns in GA4
Once your tracking is set up and you have data flowing in, you can start digging for insights. Here are the most valuable reports inside GA4 for assessing your ad campaign performance.
Traffic Acquisition Report
This is your home base for analyzing campaign success. It shows you which channels and campaigns are bringing users to your site and whether they're engaging or converting.
How to find it: Go to Reports > Acquisition > Traffic acquisition.
By default, this report is grouped by the "Session default channel group." Change this primary dimension to Session campaign by clicking the dropdown arrow. Now you can see performance broken down by the specific campaign names you set up with your UTMs.
Metrics to focus on:
- Sessions: How many visits each campaign generated.
- Engaged sessions: The number of sessions that lasted longer than 10 seconds, had a conversion event, or had at least 2 pageviews. This tells you if people are sticking around.
- Engagement rate: The percentage of sessions that were engaged. A low rate for a high-traffic campaign might signal a mismatch between your ad creative and your landing page.
- Conversions: The count of your most important actions (like
purchaseorgenerate_lead). Sort by this column to quickly see your most valuable campaigns.
Advertising Snapshot Report
While the Acquisition reports focus on traffic, the Advertising section is designed to provide deeper insight into conversion paths and attribution across all your channels.
How to find it: Go to Advertising > Advertising snapshot.
This report works like a dashboard, offering a business-level summary of your advertising. You'll see which of your channels are driving the most conversions and, if you have Google Ads linked, your total ad spend and return on ad spend (ROAS). A key feature here is the Conversions paths report, which shows you the different touchpoints a user had before converting. You'll often discover that social media ads created initial awareness, followed by an organic search or email click that led to the final sale. This helps you appreciate the true value of top-of-funnel campaigns that might not be driving last-click conversions.
Answering Key Business Questions with Your Data
Once you know where to look, you can move beyond simple reporting and start answering strategic questions to optimize your ad spend.
Which Campaigns Are Actually Driving Sales?
Clicks and impressions can be misleading vanity metrics. Use the Traffic acquisition report to get to the truth. Set the primary dimension to Session campaign and the secondary dimension to Session source / medium. Then, scroll to the right and sort the table by your main conversion event, such as purchase. This immediately elevates your most profitable campaigns to the top, regardless of how many clicks they generated.
Is My Landing Page Converting Campaign Traffic?
Let's say a specific Facebook campaign is getting tons of clicks but very few conversions. The ad is clearly working, but something's breaking down afterward. In the Traffic acquisition report, add a secondary dimension of Landing page + query string. Now you can see engagement and conversion rates for the specific pages that your ads send traffic to. If a landing page for a popular campaign has a horribly low engagement rate or conversion rate, you know exactly where to focus your optimization efforts.
Who Is This Campaign Resonating With?
Does your new ad campaign resonate more with mobile users or desktop users? Is it performing better in one country than another? You can answer this by creating a simple exploration.
- Go to the Explore tab and select a Free form exploration.
- In the "Rows" section, add the Campaign name dimension.
- In the "Columns" section, add a dimension like Device category or Country.
- In the "Values" section, add metrics like Sessions and Total users.
In seconds, you'll have a custom report showing you a breakdown of your audience for each campaign, helping you refine your audience targeting for future ads.
Final Thoughts
Monitoring your ad campaigns inside Google Analytics moves you from a shallow view of performance based on clicks to a deep understanding of on-site user behavior and business impact. By properly linking accounts and using UTM parameters, you can finally see the full journey and make data-driven decisions that improve your profitability.
Gathering all this information still requires jumping between different reports and connecting data from Google Ads, Facebook Ads Manager, and Google Analytics. This is where tools like Graphed simplify the entire process. We connect to all your marketing and sales data sources, allowing you to ask questions in plain English, like "Show me a dashboard comparing Facebook Ads spend vs. revenue in Shopify by campaign for last month." In less than a minute, you get a real-time dashboard with the answers, letting you get straight to the insights instead of pulling manual reports.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.