GA4 Ecommerce Performance Tracker
See which channels and devices actually drive revenue. Get ecommerce metrics by channel with a pivot view showing exactly where your money comes from.
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
1-2 hrs/week
Difficulty
Medium
Tools
1 connected
How it works
Pull Ecommerce Metrics
Gets revenue, transactions, conversion rate, and AOV by channel
Cross-Tabulate Revenue
Runs a pivot report showing revenue by channel and device category
Rank Channels
Orders channels by revenue contribution and highlights conversion rates
Find Opportunities
Flags high-traffic channels with low conversion for optimization
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/Run ReportName it "Google Analytics/Run Report" and call it with @Google Analytics/Run Report to pull ecommerce performance metrics by channel, then use @Google Analytics/Run Pivot ReportName it "Google Analytics/Run Pivot Report" and call it with @Google Analytics/Run Pivot Report to cross-tabulate revenue by device category and traffic source. Identify which channel + device combos drive the most revenue.
Input
The user will provide:
- Their GA4 property ID
- Date range (default: last 30 days)
- Any specific channels or products to focus on (optional)
Example: "Show me ecommerce performance by channel for property 123456789, last 30 days"
Context
Ecommerce Metrics to Pull
Run a report with these metrics:
- ecommercePurchases (transactions)
- purchaseRevenue (total revenue)
- ecommercePurchases / sessions (conversion rate — calculate from raw values)
- averagePurchaseRevenue (average order value)
- sessions, totalUsers
Break down by:
- sessionDefaultChannelGroup (for channel performance)
- sessionSourceMedium (for source-level detail)
Pivot Report
Run a pivot report cross-tabulating:
- Rows: sessionDefaultChannelGroup
- Columns: deviceCategory
- Values: purchaseRevenue, ecommercePurchases
This reveals which channel + device combos produce the most revenue.
Analysis Strategy
- Run the main ecommerce report by channel grouping
- Run a second report by source/medium for the top-performing channels
- Run the pivot report for revenue by channel x device
- Rank channels by revenue contribution
- Calculate conversion rate for each channel
- Identify the top 3 channel + device combos by revenue
- Flag channels with high traffic but low conversion (optimization opportunities)
Guidelines
- If ecommerce metrics return empty, the property may not have ecommerce tracking configured — flag this to the user
- Calculate conversion rate manually: ecommercePurchases / sessions
- Compare AOV across channels to find where high-value customers come from
Output
Ecommerce Performance by Channel:
- Revenue, transactions, conversion rate, and AOV for each channel
- Ranked by revenue contribution
Top Source/Medium Detail:
- Breakdown within the top 3 channels by specific source/medium
Revenue by Channel x Device (Pivot):
- Cross-tabulated view showing revenue for each channel on desktop, mobile, and tablet
- Top 3 highest-revenue combos highlighted
Optimization Opportunities:
- Channels with high traffic but low conversion rate
- Device categories underperforming within top channels
- Recommendations for where to focus budget or optimization effort
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