GA4 + Google Ads Cross-Platform Analytics
Connect the dots between ad spend and on-site behavior. See which campaigns actually drive engaged traffic, not just clicks.
Free to start
1,000 credits included
No credit card required
Try this agent Book a demoSetup in 10 min · Cancel anytime
Setup time
~10 min
Time saved
3-4 hrs/analysis
Difficulty
Advanced
Tools
3 connected
How it works
Pull GA4 Data
Gets on-site behavior metrics filtered to paid campaigns
Pull Ads Data
Gets campaign spend, clicks, and conversion metrics from Google Ads
Correlate Campaigns
Matches campaigns across platforms to calculate true ROI
Track Over Time
Logs combined metrics to Google Sheets for ongoing analysis
Try asking
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
ExpandCollapse
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
The Prompt
Task
Pull website performance data from @Google Analytics/Run ReportName it "Google Analytics/Run Report" and call it with @Google Analytics/Run Report and correlate it with advertising data from @Google Ads/List Campaigns and @Google Ads/SearchName it "Google Ads/Search" and call it with @Google Ads/Search. Combine the datasets to show how ad spend translates into actual on-site behavior. Log the results to a Google Sheet using @Google Sheets/Append RowName it "Google Sheets/Append Row" and call it with @Google Sheets/Append Row.
Input
The user will provide their GA4 property ID and Google Ads customer ID. Optionally a date range.
Example: "Property: 123456789, Ads customer: 456-789-0123, last 30 days"
Context
GA4 Data to Pull
Run a report with:
- Metrics: totalUsers, sessions, screenPageViews, bounceRate, averageSessionDuration, conversions
- Dimensions: sessionSource, sessionMedium, sessionCampaignName
- Filter to google/cpc traffic (paid search)
- Date range: last 30 days
- Order by sessions descending
Google Ads Data to Pull
- List campaigns to get campaign names and statuses
- Run a GAQL search query for campaign-level metrics:
- Impressions, clicks, cost, conversions, cost per conversion
- For the same date range
Correlation Strategy
- Pull GA4 data for google/cpc traffic broken down by campaign name
- Pull Google Ads campaign performance metrics
- Match campaigns by name to combine ad spend with on-site behavior
- Calculate effective metrics: cost per engaged session, cost per low-bounce visit
- Identify campaigns where users land but immediately bounce (wasted spend)
- Find campaigns that drive deep engagement but have low budgets (scaling opportunities)
- Log the combined data to Google Sheets for tracking over time
Output
Cross-Platform Campaign Analysis:
Campaign Performance Overview:
- Each campaign with: Ad spend, clicks, GA4 sessions, bounce rate, avg session duration, conversions
Spend Efficiency:
- Cost per engaged session (sessions with bounce rate below 50%)
- Campaigns with highest wasted spend (high cost, high bounce rate)
- Campaigns with best ROI (low cost per conversion, strong engagement)
Optimization Recommendations:
- Campaigns to scale up (good engagement, room to grow)
- Campaigns to fix (high spend, poor on-site metrics)
- Campaigns to pause (low performance across both platforms)
Data Logged:
- Summary row added to Google Sheets with date, total spend, total sessions, avg bounce rate, total conversions
WHAT ARE YOU WAITING FOR?
Ready to build?
Stop duct-taping tools.
Stop writing playbooks no one follows.
Start building agents that actually do the work—and do it well.
Cotera: For people who think busywork is boring.
"This is the best product ever when it comes to shipping. Ten on ten recommended. I just can't wait to see what happens with this product."
Rebecca Blount
Director, Customer Success