Google Analytics
Access your Google Analytics 4 data directly through Sasha. Ask questions about traffic, conversions, and user behavior in natural language.
What You Can Do
- Query traffic data - Sessions, users, pageviews
- Analyze sources - Where visitors come from
- Track conversions - Goal completions and events
- Real-time monitoring - Current site activity
- Compare periods - Trend analysis over time
Prerequisites
- Google Analytics 4 property
- Google account with Viewer access (minimum)
- OAuth authorization for the Sasha application
Setup
- Navigate to Settings → Tools → Google Analytics
- Click Connect Google Account
- Sign in and authorize access
- Select your GA4 property (optional default)
- Click Register to enable Claude access
Example Uses
"What are my top traffic sources in the last 30 days?"
"Show me the most popular pages this week"
"How many users are currently on my site?"
"Compare this month's traffic to last month"
"What are the top conversion events?"
"Which countries send the most traffic?"
"What's my bounce rate trend over the past quarter?"
Available Metrics
| Category | Examples |
|---|---|
| Users | Active users, new users, returning users |
| Sessions | Session count, duration, pages per session |
| Traffic | Source, medium, campaign |
| Engagement | Bounce rate, engagement rate, events |
| Conversions | Goal completions, conversion rate |
| Real-time | Current users, active pages |
Security Notes
- Read-only access to your analytics data
- OAuth tokens encrypted at rest
- Revoke access anytime from Settings or Google Account
- No data is stored—queries run on demand
Troubleshooting
| Issue | Solution |
|---|---|
| "No properties found" | Verify your Google account has GA access |
| "Permission denied" | Check you have Viewer role or higher |
| "Token expired" | Click "Reconnect" in Settings |