Skip to content
Maua.Culturewire

Google Analytics

Traffic and conversion reports (GA4)

MarketingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Google Analytics, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In Google Cloud Console (console.cloud.google.com):
    2. Create or pick a project and, under “APIs & Services → Library”, enable the APIs of the services you will connect.
    3. Configure the “OAuth consent screen”.
    4. Under “Credentials → Create credentials → OAuth client ID” choose “Web application” and add the redirect URI shown below to “Authorized redirect URIs”.
    5. Copy the client ID and secret. These steps are only needed for your own OAuth app: when this deployment has a managed Google app, Continue connects without them.

    Default scopes

    • https://www.googleapis.com/auth/analytics.readonly

Tools (2)

  • Google Analytics API requestGOOGLEANALYTICS_SEND_REQUEST

    Authenticated call to the Google Analytics API (https://analyticsdata.googleapis.com/v1beta). Any endpoint of the API is allowed. Examples: GET https://analyticsadmin.googleapis.com/v1beta/accountSummaries (properties), POST /properties/{id}:runReport, POST /properties/{id}:runRealtimeReport.

    Required scopes

    No scopes required

    Input

    Google Analytics API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • ReportGOOGLEANALYTICS_RUN_REPORT

    GA4 report for a property: metrics (sessions, activeUsers, conversions…) by dimensions (date, pagePath, sessionSource…).

    Required scopes

    No scopes required

    Input

    Report input
    NameTypeDescription
    propertyrequiredstringNumeric ID of the GA4 property
    start_datestringDefault: "28daysAgo"
    end_datestringDefault: "today"
    metricsstring[]Default: ["sessions","activeUsers"]
    dimensionsstring[]Default: ["date"]
    maxintegerDefault: 100