Productivity

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:

  1. Navigate to Integrations and expand Google Analytics
  2. Click 'Add Google Analytics Connection' and enter a display name
  3. Click 'Configure' on the new connection to open the setup page
  4. Click 'Configure OAuth Credentials' to enter your Google Cloud OAuth credentials
  5. --- Getting OAuth Credentials from Google Cloud ---
  6. Go to Google Cloud Console (console.cloud.google.com/apis/credentials)
  7. Create a new project or select an existing one
  8. Enable the 'Google Analytics Data API' for your project (APIs & Services → Library)
  9. Go to Credentials → Create Credentials → OAuth 2.0 Client ID
  10. Select 'Web application' as the application type
  11. Add authorized redirect URI: https://www.createworker.com/api/integrations/google-analytics/callback
  12. Copy the Client ID and Client Secret from Google Cloud Console
  13. --- Back in CreateWorker ---
  14. Paste the Client ID and Client Secret in the OAuth configuration form
  15. Click 'Save Credentials' to store your OAuth app credentials securely
  16. Click 'Connect with Google' and authorize access to your Google Analytics account
  17. Select the GA4 property to monitor from the dropdown
  18. Configure reports with desired metrics (e.g., active users, sessions, bounce rate) and dimensions (e.g., date, country, device)
  19. Set polling frequency (daily or weekly)
  20. Optionally enable knowledge integration to store report data for worker reference
  21. 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

Related Documentation