Skip to content

Connect Gmail to Google Analytics

Google Analytics has the answers about your website, but few people log in to look. Connecting it to Gmail sends the numbers that matter to your inbox, with a plain explanation of what changed, so the whole team stays informed without learning GA4.

Build your own

Build any Gmail and Google Analytics automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and Google Analytics in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Email me only if conversion rate from paid traffic drops below 1.5% for two days in a row.

Every Friday, email me the five landing pages with the most sessions but the lowest engagement rate, with AI suggestions for each.

Use cases

Why people connect Gmail and Google Analytics

How the two apps work together

  • GA4 does not send webhooks, so the script pulls reports from the Google Analytics Data API on a schedule, such as daily or weekly.
  • It compares the numbers you choose against earlier periods and can add an AI summary.
  • The report is sent from your Gmail account to the recipients you list.
  • Founders get a Monday traffic email

    Users, sessions, conversions and top pages for last week arrive in one email. No GA4 login needed to see if the site is growing.

  • Agencies send monthly client reports

    Each client gets an email with their GA4 numbers, month-over-month change and a short AI commentary. Reporting day takes minutes.

  • Ecommerce managers watch revenue and conversion rate

    A daily email shows purchases, revenue and conversion rate compared to the same day last week. Problems with checkout show up the next morning.

  • Content teams see which posts bring traffic

    A weekly email lists new blog posts and their pageviews and sources. Writers learn which topics work.

More apps

Gmail, Google Analytics and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

GA4 email report plus a sheet history

Every Monday, email me last week's GA4 users, sessions and conversions and append the same numbers to my Traffic History Google Sheet.

Combined Search Console and GA4 report

Each Monday, email me GA4 organic sessions plus the top 10 Search Console queries by clicks for last week, with changes from the week before.

Email and Slack alert for traffic drops

If yesterday's GA4 sessions were 30% lower than the same day last week, email me and post a short alert in #marketing on Slack.

Setup

Connect Gmail and Google Analytics once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

Gmail

Email

  1. At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
  2. Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
  3. Under Data Access, add the scopes you need, such as https://www.googleapis.com/auth/gmail.modify, or gmail.send if you only want to send.
  4. Under Clients, create an OAuth client of type Web application with the redirect URI https://clickruntime.com/oauth/callback.
  5. In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.

Google Analytics

Analytics

  1. In Google Cloud Console, enable the Google Analytics Data API (and the Admin API if you want reports across several properties).
  2. Create a service account and download a JSON key for it.
  3. In GA4, go to Admin, Property Access Management, and add the service account's email with the Viewer role.
  4. In the ClickRuntime dashboard, open Connections & secrets, upload the JSON key and enter your numeric GA4 Property ID.

FAQ

Questions about connecting Gmail and Google Analytics

How does ClickRuntime read my Google Analytics?
Through your Google account connected in your ClickRuntime dashboard, with read-only access to the GA4 property you choose.
Can the report go to people without an Analytics login?
Yes. It is an ordinary email from your Gmail, so you can send it to colleagues, clients or a shared inbox.
Does it work with Universal Analytics?
No. Universal Analytics stopped collecting data in 2024; these automations use GA4.
Which numbers can it report?
Anything GA4 reports: users, sessions, conversions, revenue, pages, sources, countries and devices. Name them in the prompt.
Which GA4 access does the connected account need?
The Google account must have at least Viewer access to the GA4 property you want to report on.
Can one report cover several properties?
Yes. The script can query several GA4 property IDs and combine them into one email.
How current is the data?
GA4 data can take several hours to finalise, so daily reports usually cover the previous full day.

Tell your assistant what Gmail and Google Analytics should do together

Free plan. No credit card.