Connect Google Analytics to Slack
Ideas
What you can do with Google Analytics and Slack
Post a weekly website brief to Slack
Every Monday, Slack shows last week's visitors, conversions and top pages compared with the week before, with a short explanation.
See how it worksGet a Slack alert when a page loses traffic
Each morning, Slack lists the pages whose traffic fell most compared with the previous 28 days, with a likely reason and a suggested fix.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Google Analytics and Slack, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Google Analytics and Slack automation you can describe
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
Post in Slack only when organic sessions are down more than 20% week over week, with AI notes on which pages lost the most.
Every Monday, have AI write three short observations about last week's GA4 data and post them in #growth, without a full table.
Use cases
Why people connect Google Analytics and Slack
How the two apps work together
- The script queries GA4 through the Data API on a schedule, since GA4 does not send webhooks.
- It posts a formatted message to the Slack channel you choose.
- A Slack slash command or message can also reach a trigger link and ask for fresh numbers on demand.
Growth teams start the week with numbers in Slack
A Monday post shows last week's users, signups and top channels. Discussions start from shared figures.
Product managers watch launches
After a launch, signups and key events are posted to the launch channel daily for two weeks. The team sees adoption without asking an analyst.
Content leads share what performed
Top new articles by pageviews are posted weekly with their main traffic source. Writers get feedback without logging into GA4.
Developers catch tracking regressions
If a key event drops to near zero after a deploy, an alert goes to the engineering channel. The tag gets fixed quickly.
More apps
Google Analytics, Slack and other apps in one automation
GA4 Slack post with a sheet archive
Every Monday, post last week's GA4 summary in #marketing on Slack and add the same numbers to my Weekly Metrics sheet.
Signups and revenue in one Slack post
Each morning, post yesterday's GA4 signups and Stripe new subscriptions and revenue in #metrics on Slack.
Traffic to pipeline report in Slack
Every Friday, post in Slack the week's GA4 sessions by source alongside the number of new HubSpot contacts from each source.
Setup
Connect Google Analytics and Slack once
Google Analytics
Analytics
- In Google Cloud Console, enable the Google Analytics Data API (and the Admin API if you want reports across several properties).
- Create a service account and download a JSON key for it.
- In GA4, go to Admin, Property Access Management, and add the service account's email with the Viewer role.
- In the ClickRuntime dashboard, open Connections & secrets, upload the JSON key and enter your numeric GA4 Property ID.
Slack
Team chat
- At api.slack.com/apps, create a new app from scratch in your workspace.
- Under OAuth & Permissions, add the bot scopes the automation needs, such as
chat:write,channels:readandchannels:history. - In the ClickRuntime dashboard, open Connections, choose Slack and enter your app's details, then install it to your workspace.
- In each channel the automation should use, type
/invite @your-app-name.
FAQ
Questions about connecting Google Analytics and Slack
How does ClickRuntime read Google Analytics?
Which channel do the posts go to?
Does everyone in Slack need GA4 access?
Can it cover several websites?
Can different reports go to different channels?
Does the bot need to be invited to the channel?
Can it compare against the same period last year?
Related pages
Keep exploring
Tell your assistant what Google Analytics and Slack should do together
Free plan. No credit card.