Kisu
BigQuery alerts to SlackGoogle Sheets threshold alerts
PricingPrivacy PolicyTerms
← All articles

Analytics

GA4 traffic drop alerts with the BigQuery export

Count yesterday’s sessions from your GA4 BigQuery export and email the marketing lead when traffic falls below a floor. Timing and accuracy caveats included.

By Ranggalawe Istifajar

Created November 27, 2026Updated November 27, 2026

Yesterday’s sessions from the GA4 export

Illustration · scheduled checks every 12 or 24 hours

1. BigQuery · GA4 sessions312 sessionsPrevious day in the property timezone
→
2. Check your conditionSum of sessions < 500?Condition met
→
3. Queue an email
Kisu alert: GA4 sessions below 500 or export missingInbox
[email protected]to me
9:00 AM

GA4 sessions below 500 or export missing

Total sessions is 312, below your threshold of 500.

BigQuery · example-project
Checked Jan 1, 2026 at 09:00 UTC

View alert

ReplyForward
Illustrative values. Export session counts differ from GA4 reports, and a missing daily table counts as 0, which also matches.

A broken tracking tag or a campaign that stopped can cut your traffic for days before the weekly report shows it. If your GA4 property exports to BigQuery, you already have daily tables to check. This guide counts yesterday’s sessions and emails the marketing lead when there are fewer than 500.

1. Find your export tables

The GA4 daily export writes one table per day, named events_YYYYMMDD, in a dataset called analytics_ followed by your property ID. Standard properties have a daily export limit of 1 million events; see Google’s BigQuery export guide for the current limits.

SELECT COUNTIF(event_name = 'session_start') AS sessions
FROM `your-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX = FORMAT_DATE('%Y%m%d',
  DATE_SUB(CURRENT_DATE('America/New_York'), INTERVAL 1 DAY))

Replace the project, the property ID, and the timezone. The table dates follow your property’s reporting timezone, so use that. The filter on _TABLE_SUFFIX reads only one day’s table, which keeps the query small, and it skips the events_intraday_ tables.

2. Expect a different number from GA4 reports

Counting session_start events gives a number close to, but not the same as, sessions in GA4 reports. The reports apply their own processing and estimation. That’s fine for an alert, as long as you pick the threshold from the export itself rather than from the GA4 interface:

SELECT _TABLE_SUFFIX AS day,
  COUNTIF(event_name = 'session_start') AS sessions
FROM `your-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN
    FORMAT_DATE('%Y%m%d', DATE_SUB(CURRENT_DATE('America/New_York'), INTERVAL 28 DAY))
  AND FORMAT_DATE('%Y%m%d', DATE_SUB(CURRENT_DATE('America/New_York'), INTERVAL 1 DAY))
GROUP BY day
ORDER BY day

Run this in the BigQuery console and look at your quietest normal days, including weekends. A threshold just below them catches real drops without firing every Sunday.

3. Time the check after the export lands

The daily table appears some hours after the day ends, and the time varies. Look at when recent tables were created, and set Starting at comfortably after that. If yesterday’s table isn’t there yet, the query finds no rows, COUNTIF returns 0, and the alert fires. That’s a useful warning that the export is late, so name the alert to cover both cases.

4. Email the marketing lead

In Kisu, open Configuration → Notification destinations and add an Email destination. It starts with your account email. Keep it, or enter the address of the marketing lead. Each email destination has one recipient, not a list, CC, or BCC. If several people need the alert, use a group or shared inbox address.

Click Send test, then check the inbox, including spam. An alert that lands in spam is as good as no alert, so make sure the test arrives before you rely on it.

Create a BigQuery alert with the sessions query. If Kisu can’t find the dataset, set the BigQuery location to match it. Select sessions, choose Sum, set less than 500, pick Every 24 hours, and choose the email destination under Notify via. Name it “GA4 sessions below 500 or export missing”.

When it fires, check GA4’s realtime report, recent site releases, consent banner changes, and campaigns that ended. The email shows the count only. For campaign data, see missing campaign data alerts, and for choosing what to watch, marketing KPIs worth monitoring.

Kisu checks every 12 or 24 hours, not in real time. Enter your preferred time under Starting at, using the timezone shown beside the input. Change it in Settings from your email menu. With a 12-hour schedule, you’ll get a second check 12 hours later. New alerts use Just when the issue starts, so one ongoing problem won’t keep sending messages. Want reminders? Choose As long as the issue persists for a notification on every successful matching check. When the condition no longer matches, the incident resolves without a recovery message.

After a check, open History and look at three things: the number, whether the condition matched, and whether the notification was delivered. A failed check or no-data result does not send a threshold notification or resolve an open incident. You can review completed checks and delivery history for 30 days.

Put your metric to work

Connect your data and set up a scheduled check. Start with 7 days free, then $12/month. See Pricing for subscription details.

Get started with Google

Keep reading

  • Marketing KPIs worth monitoring between reports
  • Detect a missing daily campaign data import
  • How to send BigQuery alerts by email
Kisu

Kisu monitors BigQuery and Google Sheets and sends alerts when your conditions are met.

Questions? Contact [email protected].

Resources

  • BigQuery alerts to Slack
  • Google Sheets threshold alerts
  • Pricing
  • All articles

Blog

  • How to send BigQuery alerts to Slack
  • How to set up Google Sheets threshold alerts
  • KPI tracking: turn metrics into actionable alerts

© 2026 Kisu. All rights reserved.

  • Privacy Policy
  • Terms