Google Analytics Integration
Monitor website traffic and generate automated reports from Google Analytics 4.
Capabilities
This integration enables workers to:
- Connect to GA4 properties via OAuth or service account
- Generate automated reports with configurable cadence (daily/weekly)
- Pull metrics like active users, sessions, bounce rate, and revenue
- Segment data by dimensions like device, country, source, and page
- Store report data in knowledge base for worker reference
- Create tasks from report insights for assigned workers
Setup
Follow these steps to connect Google Analytics:
- Navigate to Integrations and expand Google Analytics
- Click 'Add Google Analytics Connection' and enter a display name
- Click 'Configure' on the new connection to open the setup page
- Click 'Configure OAuth Credentials' to enter your Google Cloud OAuth credentials
- --- Getting OAuth Credentials from Google Cloud ---
- Go to Google Cloud Console (console.cloud.google.com/apis/credentials)
- Create a new project or select an existing one
- Enable the 'Google Analytics Data API' for your project (APIs & Services → Library)
- Go to Credentials → Create Credentials → OAuth 2.0 Client ID
- Select 'Web application' as the application type
- Add authorized redirect URI: https://www.createworker.com/api/integrations/google-analytics/callback
- Copy the Client ID and Client Secret from Google Cloud Console
- --- Back in CreateWorker ---
- Paste the Client ID and Client Secret in the OAuth configuration form
- Click 'Save Credentials' to store your OAuth app credentials securely
- Click 'Connect with Google' and authorize access to your Google Analytics account
- Select the GA4 property to monitor from the dropdown
- Configure reports with desired metrics (e.g., active users, sessions, bounce rate) and dimensions (e.g., date, country, device)
- Set polling frequency (daily or weekly)
- Optionally enable knowledge integration to store report data for worker reference
- Click 'Save Configuration' to complete the setup
Official links
Security
- Uses Google OAuth 2.0 or service account authentication
- Access tokens are automatically refreshed
- Credentials encrypted with AES-256-GCM
- Read-only access to analytics data
- Per-property access control
- OAuth credentials are stored securely per-connection
Credential Storage
All integration credentials are encrypted at rest using AES-256-GCM encryption. OAuth tokens are automatically refreshed when needed.
Supported Roles
The following roles can use this integration by default: