Use case

Get a Slack alert when GA4 sessions spike: bots or crawlers

A sudden jump in GA4 sessions with no campaign behind it is often bot or crawler traffic. This anomaly check compares yesterday’s sessions with the daily average of the 8 weeks before and posts in your Slack channel when they moved more than 50%.

Before you start
  • ppctor added to your Slack workspace.
  • A channel linked to the Google Ads account and its GA4 property, with /ppctor connect. In a private channel, invite ppctor first.
1

Type /ppctor anomaly create in the channel

In the channel linked to the Google Ads account and its GA4 property, type /ppctor anomaly create and press Enter.

2

Click Analytics

The New anomaly form opens on Google Ads. Click Analytics at the top to watch the GA4 property instead.

3

Choose Sessions and Low sensitivity

Leave Segment on All Analytics data, or choose a channel or source. Leave Anomaly time range on Yesterday. Under Metric, choose Sessions. Under Sensitivity, choose Low: Low means a change of more than 50% either way, so normal busy days do not trigger it. Click Create anomaly.

4

ppctor confirms in the channel

ppctor posts that the anomaly check was created, what it watches, and where to change it: /ppctor anomaly in Slack, or the link to the check on ppctor.com. It checks yesterday once a day.

5

When sessions moves more than 50%, ppctor posts it

The chart shows each day of the 8 weeks before, the usual level as a line, and yesterday. The table has yesterday’s figure, the usual level it was compared with, and the change: here +142%. ppctor posts once when the change goes past 50%, and once more when it is back in its usual range.

Good to know

  • To find where a spike came from, ask ppctor in the channel: “GA4 sessions yesterday by source / medium”.
  • An anomaly check posts when the change first goes past the limit, and once more when it is back in its usual range. To watch only increases, edit the check on the Anomaly page on ppctor.com.
  • It needs a GA4 property linked to the channel’s account.
  • To check it now, type /ppctor anomaly run #1, with the check’s number. A channel can have up to 10 anomaly checks for its account.

Set up your first anomaly check in Slack.

Add to Slack30-day free trial · No card needed