BundleUp logo
ab

Google Analytics

Google web and app analytics for running reports on traffic, events, and conversions.

https://analyticsdata.googleapis.com
MCP Logohttps://analyticsdata.googleapis.com/mcp/v1
Proxy
const bundleup = new BundleUp('Zw7Lt7...');

const proxy = bundleup.proxy('conn_abc123');
const response = await proxy.get('/[...]');
MCP
import { Agent, run, hostedMcpTool } from '@openai/agents';

const bundleup = new BundleUp('Zw7Lt7...');
const { url, token } = bundleup.mcp('conn_abc123').hosted();

const agent = new Agent({
  name: 'Assistant',
  tools: [
    hostedMcpTool({
      serverLabel: 'google_analytics',
      serverUrl: url,
      authorization: token
    })
  ],
});
Unified API
const bundleup = new BundleUp('Zw7Lt7...');

const unify = bundleup.unify('conn_abc123');
const response = await unify.me();

Unified API Endpoints

/me
Retrieve the Google account this connection is authenticated as. The Analytics Data API host serves no identity endpoint, so this calls Google's shared userinfo endpoint and requires the openid or userinfo.profile scope.

We use cookies to understand how you use our site and to improve your experience. Analytics cookies are only set once you accept. See our Privacy Policy for details.