Google Analytics

Analytics platform by Google

Go to site
Google Analytics

Google Analytics API Integrations

Build and run workflows using the Google Analytics API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_analytics: {
      type: "app",
      app: "google_analytics",
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: ``,
      headers: {
        Authorization: `Bearer ${this.google_analytics.$auth.oauth_access_token}`,


Google Analytics uses OAuth authentication. When you connect your Google Analytics account, Pipedream will open a popup window where you can sign into Google Analytics and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Analytics API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
  2. accessToken
    POST application/x-www-form-urlencodedaccept: application/json
  3. refreshToken
    POST application/x-www-form-urlencodedaccept: application/json