GA4 Traffic Source Analysis
Figure out exactly where your traffic is coming from, which channels actually convert, and where your marketing budget should go next.
Free to start
1,000 credits included
No credit card required
Try this agent Book a demoSetup in 5 min · Cancel anytime
Setup time
~5 min
Time saved
2-3 hrs/analysis
Difficulty
Medium
Tools
2 connected
How it works
Find Properties
Lists your GA4 properties so you can pick the right one
Pull Source Data
Runs multi-dimensional reports on traffic sources, channels, and landing pages
Analyze Quality
Compares bounce rate, session duration, and conversions across channels
Log to Sheets
Saves summary data to Google Sheets for month-over-month tracking
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
Use @Google Analytics/List PropertiesName it "Google Analytics/List Properties" and call it with @Google Analytics/List Properties to find available GA4 properties, then use @Google Analytics/Run ReportName it "Google Analytics/Run Report" and call it with @Google Analytics/Run Report to pull traffic source data and analyze which channels are driving the most valuable traffic. 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 for tracking over time.
Input
The user will provide a GA4 property ID (or ask you to list properties first) and a date range.
Example: "Analyze traffic sources for property 123456789 for the last 30 days"
Context
Reports to Run
Report 1 - Source/Medium Overview:
- Metrics: totalUsers, sessions, screenPageViews, bounceRate, averageSessionDuration, conversions
- Dimensions: sessionSource, sessionMedium
- Order by sessions descending
- Limit: 20
Report 2 - Channel over Time:
- Metrics: totalUsers, sessions
- Dimensions: date, sessionDefaultChannelGroup
- Date range: last 30 days
Report 3 - Landing Pages by Source:
- Metrics: sessions, bounceRate, averageSessionDuration
- Dimensions: landingPage, sessionSource
- Order by sessions descending
- Limit: 15
Analysis Strategy
- List properties if the user doesn't know their property ID
- Run all three reports
- Identify top-performing and underperforming channels
- Look for sources with high traffic but high bounce rate (wasted spend)
- Find sources with low traffic but strong engagement (growth opportunities)
- Log summary data to Google Sheets for month-over-month tracking
Output
Traffic Source Summary:
Top Sources by Traffic:
- Ranked list of top 10 sources with sessions, users, and bounce rate
Channel Quality Analysis:
- Which sources drive engaged users (low bounce rate, high session duration)
- Which sources have high bounce rates (potential quality issues)
Growth Opportunities:
- Sources trending up over the period
- Sources with strong engagement but low volume (worth investing in)
Recommendations:
- 3-4 specific recommendations for where to invest marketing budget based on the data
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