Loading...
Loading...
Track website and app analytics with Google Analytics 4's comprehensive platform.
npx skill4agent add andrejones92/canifi-life-os google-analyticscurl -sSL https://canifi.com/skills/google-analytics/install.sh | bashcp -r skills/google-analytics ~/.canifi/skills/# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set GOOGLE_ANALYTICS_PROPERTY_ID "your_property_id"
canifi-env set GOOGLE_CLIENT_ID "your_client_id"
canifi-env set GOOGLE_CLIENT_SECRET "your_client_secret"
canifi-env set GOOGLE_REFRESH_TOKEN "your_refresh_token"canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"User: "Show me website traffic for the last 7 days"
Assistant: Returns sessions, users, and pageviewsUser: "What are my top performing pages?"
Assistant: Returns pages by views and engagementUser: "How many conversions did we get this month?"
Assistant: Returns conversion counts by goalUser: "How many users are on the site right now?"
Assistant: Returns real-time user count and activity| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Token expired | Refresh access token |
| 403 Forbidden | No property access | Check permissions |
| 404 Not Found | Invalid property ID | Verify property ID |
| 429 Rate Limited | Quota exceeded | Wait for quota reset |