# GA4 Weekly Performance Report

> Pull your GA4 data, analyze the trends, and get a formatted weekly summary delivered straight to Slack. No more manual dashboard screenshots.

Source: https://cotera.co/solutions/marketing/ga4-weekly-performance-report

---

- **Team:** Marketing
- **Tools:** Google Analytics, Slack
- **Difficulty:** easy
- **Setup time:** 5 min
- **Time saved:** 1-2 hrs/week

## How it works
1. **Discover Metrics** — Checks what metrics and dimensions are available for your GA4 property
2. **Pull Analytics Data** — Runs GA4 reports for traffic, sources, and device breakdown
3. **Analyze Trends** — Identifies top traffic days, leading sources, and device patterns
4. **Deliver to Slack** — Sends a clean, formatted summary to your chosen Slack channel

## Example requests
- Generate a weekly performance report for property 123456789 and post it to #marketing-reports
- Pull last week's GA4 data for our main property and summarize traffic trends
- Send me a weekly GA4 summary with traffic sources and device breakdown

## Prompt

```markdown
## Task

Pull the last 7 days of GA4 analytics data using @Google Analytics/Run Report and generate a clear, formatted weekly performance summary. Then send it to Slack using @Slack/Send Message.

Before running the report, use @Google Analytics/Get Metadata to discover what metrics and dimensions are available for the property.

## Input

The user will provide their GA4 property ID and a Slack channel name.

**Example:** "Property ID: 123456789, send to #marketing-reports"

## Context

### Metrics to Pull

Run a report with these metrics for the last 7 days:
- totalUsers, newUsers, sessions
- screenPageViews, bounceRate, averageSessionDuration
- conversions (if available)

Break down by these dimensions:
- date (for day-over-day trends)
- sessionSource (for traffic sources)
- deviceCategory (for device breakdown)

### Analysis Strategy

1. First use Get Metadata to confirm which metrics are available
2. Run the main report with date dimension for daily trends
3. Run a second report with sessionSource dimension for source breakdown
4. Run a third report with deviceCategory for device split
5. Calculate week-over-week changes where possible
6. Format everything into a readable Slack message

## Output

**Weekly Performance Summary (formatted for Slack):**

**Traffic Overview:**
- Total users, sessions, and page views for the week
- Day with highest traffic
- Day with lowest traffic

**Top Traffic Sources:**
- Top 5 sources by sessions
- Which sources drove the most users

**Device Breakdown:**
- Desktop vs mobile vs tablet split

**Key Takeaways:**
- 2-3 bullet points highlighting notable trends or changes
```

## Related reading
- [How to Automate Google Analytics Reports with AI Agents](https://cotera.co/articles/automate-google-analytics-reports-ai-agents.md)
- [Google Analytics Meets AI: Turning Raw Data Into Action](https://cotera.co/articles/google-analytics-ai-data-to-action.md)

