Skip to content

Hourly

Post live visitor counts during a launch

Your team sees how many people are on the site each hour while the launch runs.

Runs
Hourly
Apps
Google Analytics
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every hour from 9am to 9pm today, post the number of active users on my site to #launch in Slack.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A product team launches a feature on Product Hunt and wants to know whether the traffic is arriving. Someone keeps the GA4 realtime view open on a second monitor, but the person who is watching goes to lunch, the tab closes, and the launch peak passes unseen. Without a record, afterwards nobody can say when the surge started or ended. The launch gets measured by memory.

During the launch window, ClickRuntime runs a GA4 realtime report every hour and posts the number of active users to Slack. The messages build a simple timeline in the channel, so the whole team can see how attention rose and fell without anyone keeping a dashboard open.

It works for webinars, sales events, ticket drops or any moment when you want live traffic on record.

What you get out of it

  • A timeline of the launch

    Hourly posts form a log of when traffic picked up and when it faded. Afterward you can line it up against your tweets, emails and press mentions to see what actually moved the needle.

  • Nobody has to babysit a dashboard

    The realtime view only helps while someone watches it. Scheduled posts mean the number is captured even when the team is in a meeting, on a call or asleep in another time zone.

  • Early signal to act on

    If active users stay flat an hour after you send the newsletter, you know to try another channel quickly. Waiting for tomorrow's report would waste the most valuable hours of the launch.

  • Team morale and awareness

    A visible count in Slack keeps everyone aligned on how the launch is going. Support and engineering also see when to expect load, so they can prepare for the peak.

  • Evidence for capacity decisions

    Seeing peak active users helps decide whether the servers handled the load comfortably. That informs how much headroom to plan for the next campaign. Real peak numbers beat guesses when deciding whether servers, support staff or inventory need more capacity next time around.

How it works

What happens, step by step

  1. Every hour during your launch, ClickRuntime asks Google Analytics how many people are on your site right now.

  2. It takes the live count of active users at that moment.

  3. It posts the number to your #launch Slack channel, such as "Active users on the site right now: 1,384", so the whole team can follow along.

Before it runs live

  • Connect Google Analytics

What you get

RunsHourly
Post live visitor counts during a launchtoday, 9:00Succeeded
Slack · #launchActive users on the site right now: 1,384

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. 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.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Google Analytics steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
real_time_active_users_check.pyexample
from clickruntime import on_trigger, credentials, http, notify

PROPERTY = "123456789"

@on_trigger
def run(event):
    rows = http.post(f"https://analyticsdata.googleapis.com/v1beta/properties/{PROPERTY}:runRealtimeReport",
        headers={"Authorization": f"Bearer {credentials.connection('google', 'work')}"},
        json={"metrics": [{"name": "activeUsers"}]},
    ).json().get("rows", [])
    active = int(rows[0]["metricValues"][0]["value"]) if rows else 0
    notify.slack(f"Active users on the site right now: {active:,}", channel="#launch")
    return {"active": active}

FAQ

Common questions

What does active users mean in the realtime report?
It counts people who were active on your site or app in roughly the last 30 minutes, as GA4 reports it. It is not the same as sessions for the day, so it is best read as a snapshot of how busy the site is right now.
Can I run it more often than hourly?
Yes. During a short event you might run every 10 or 15 minutes, then return to hourly or turn it off when it ends. Higher frequency produces more messages, so many teams pick a quiet channel for it.
Can it show which pages the visitors are on?
The realtime report can include breakdowns such as page, country or traffic source alongside the active user count. Adding the top three pages to each Slack post is a common request, since it shows what is drawing attention during the launch.
What permissions does it need?
read. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (hourly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Post live visitor counts during a launch” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.