Skip to content
Integration

Google Analytics integrations and automation

Describe what should happen in Google Analytics, and when, in plain words. Whenever builds the workflow and runs it on a schedule, on a webhook, or when another app sends an event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

Start for freeNo credit card requiredAI building has weekly usage limits.

Google Analytics on Whenever

About Google Analytics

Google Analytics tracks and reports website traffic, user behavior, and conversion data, enabling marketers to optimize online performance and customer journeys

How Whenever connects

Through its API, using the credentials and permissions required by the provider.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server and your coding agent can build and deploy the Google Analytics workflow. It runs on Whenever afterwards, on its schedule or webhook, with the chat closed.

Set up the Whenever MCP server

Plan your Google Analytics workflow

Google Analytics automation begins with a reporting question, not an instruction to collect every available metric. For a weekly acquisition review, choose a GA4 property, the completed date range, sessions, key events and a channel breakdown. For a landing-page review, choose the page dimension and the minimum traffic needed to make a comparison useful. Provide the numeric property ID rather than a website URL or a measurement ID beginning with G-.

The Google Analytics Data API returns reports made from dimensions and metrics. Dimensions describe the groups, such as session channel or landing page, while metrics supply counts or amounts. Not every combination is valid, and a metric named in a business brief needs to match the property’s measurement setup. In particular, agree on which events are marked as key events. A change in that configuration can change the interpretation of a comparison even when the workflow performs the same calculation.

Compare like-for-like periods using the property’s reporting timezone. A partial current day is not equivalent to a completed day last week, and recently collected data can change while Google processes it. Include the exact reporting window and extraction time in the destination report. Where the response reports thresholding or data grouped into an other row, preserve that warning rather than presenting the output as a complete list of individual sources. A traffic decline is a signal for investigation, not proof that a campaign or deployment caused it.

The growth-report template proposes combining Google Analytics traffic with HubSpot contacts and deals in a weekly Confluence page. Keep those datasets clearly labeled: sessions are not contacts, deals are not purchases, and an aggregate channel report does not identify which visitor became a particular customer. A factual table can use fixed calculations without an AI step. If you ask for generated recommendations, review them as suggestions; optional runtime AI can vary its output and incur separate usage.

Reporting access requires credentials that can read the selected Analytics property. The Data API also applies property and project quotas, with request complexity affecting consumption. Request the dimensions and date ranges you actually need, and retrieve additional result pages when the report exceeds a single response. These proposed briefs read GA4 reports; they do not install tracking, backfill missing events, recover Universal Analytics history or guarantee that an analytics revenue figure matches your accounting ledger.

Google Analytics workflow examples

Authored starter briefs to configure with your accounts, not preconfigured workflows.

Publish a factual weekly acquisition and pipeline report

Adapt the growth-report brief into clearly separated Analytics and CRM sections, with no invented person-level attribution between the two.

Build this workflow

Flag a sustained organic-traffic change

Compare completed weekly organic-search totals against a defined baseline, and notify the marketing owner only when the agreed thresholds are met.

Build this workflow

Build a landing-page review shortlist

Use a traffic threshold and observed key-event totals to choose pages for manual review, without equating event counts with unique converted customers.

Build this workflow

Google Analytics workflows to start from

Real briefs that use this app. Pick one and Whenever writes it against your accounts.

Related apps for your workflows

All integrations

Google Analytics FAQs

Which Google Analytics identifier should I provide?

Use the numeric GA4 property ID for Data API reports. A G- measurement ID identifies a data stream and is not the property identifier expected by these reporting requests.

Why might yesterday’s report change later?

Google Analytics processes incoming data over time, so recently reported figures can change. Use completed periods, record when the report was extracted, and avoid treating a fresh daily total as a final accounting result.

Can Google Analytics sessions be matched directly to HubSpot contacts?

Not from these aggregate reports alone. A weekly report can show sessions alongside new contacts and deals, but those counts describe different things. Person-level attribution would require a separate, appropriately consented measurement design and cannot be inferred from channel totals.

Are key events the same as unique customers who converted?

No. The keyEvents metric counts key events according to the property’s configuration. It is not automatically a count of distinct customers, and changes to which events are marked as key events affect how comparisons should be interpreted.

Why can an exported breakdown be incomplete?

Check that the workflow fetched every result page and inspect report metadata for thresholding or data rolled into an other row. Also check the chosen dimensions, filters and date window. Preserve those qualifications in the exported report rather than replacing omitted information with zeros.

Does reading a GA4 report install tracking or recover old Universal Analytics data?

No. These briefs read data available in the selected GA4 property through the Data API. Website instrumentation, missing event collection and access to historical Universal Analytics exports are separate tasks.

Agents should build your automations, not be them

Describe your first workflow in plain words. One stays live for free, no credit card.

No credit card required