Check 46.10 · Automation and quality control

Create alerts for traffic and conversion drops

Create alerts for drops in organic traffic and conversions in GA4, Matomo, Plausible or through the Search Console API, with thresholds that ignore the noise.

Priority
Complementary
Difficulty
Intermediate
Estimated time
1 to 3 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

A drop alert notifies a named person when organic traffic, traffic from AI assistants, conversions or revenue fall below a threshold, without waiting for the monthly report. This check is about choosing a few metrics, setting thresholds that take normal fluctuations into account, and scheduling them in the analytics tool or in a script. Once it is done, a real drop is known within a day or a week, and a measurement failure (tag removed, consent banner broken) is spotted the next day.

Why it matters

A drop in traffic or conversions has two families of causes. Real causes: lost rankings, deindexing, site outage, broken form, a more visible competitor, seasonality. Measurement causes: analytics tag removed during a deployment, misconfigured consent manager, conversion event renamed. Either way, every lost day costs something: sales for the first family, unrecoverable data for the second.

Nobody looks at dashboards every day. Alerts reverse the logic: the tool watches, and a human steps in only when a threshold is crossed. Poorly tuned, they have the opposite effect: an alert that fires every Monday because of weekend fluctuations ends up filtered to the trash. Most of the work is therefore about the thresholds.

What it improves

  • Detection time A drop is known within one to seven days instead of a month.
  • Data quality A collection failure is fixed before it leaves a gap in the time series. See check data collection (opens in a new tab).
  • Revenue A broken checkout or form is repaired sooner.
  • Diagnosis The alert dates the drop, which ties it to a deployment, an update or a campaign.
  • Rankings and AI citations No direct effect; alerts shorten incidents.

How to check

Your setup is in place if:

  1. At least three active alerts cover organic traffic, key conversions and data collection itself.
  2. Each alert has a written threshold, an evaluation period and a recipient who reads it.
  3. A test alert has been deliberately triggered and received (threshold lowered for a few days, then restored).
  4. Every alert from the last quarter has received a decision, even “nothing to do”.

In GA4 (Google Analytics 4), open the Home page, Insights section, then View all insights: your custom insights are listed there with their trigger history.

How to implement

The examples follow three fictitious companies: Plomberie Garnier (plumbing and heating contractor in Nantes), Thé des Lisières (online store selling loose-leaf tea) and Planifia (field service scheduling software). Their figures are made up.

Before you start

Choose few metrics. Five well-tuned alerts are worth more than thirty:

Alert Metric Period Starting threshold
Organic traffic Organic Search channel sessions Weekly Drop of more than 20% compared with the previous week
Google clicks Search Console clicks Weekly Drop of more than 20% compared with the same week last year
Conversions Key events (quote request, purchase, sign-up) Daily Anomaly detected, or zero on a business day
Revenue Purchase revenue Weekly Drop of more than 25%
Data collection Sessions, all channels Hourly or daily Anomaly, or less than half the usual volume

Adjust the thresholds to the site's variability. A site that gets 30 organic visits a day varies by 30% from one day to the next for no reason; a site that gets 30,000 varies by a few percent. To set an objective threshold, export 8 weeks of daily data to a spreadsheet (date in column A, sessions in B) and calculate, for row 60, the mean and the standard deviation of the same weekdays:

Mean of the previous 8 same weekdays:
=AVERAGE(FILTER(B$2:B59,WEEKDAY(A$2:A59)=WEEKDAY(A60),A$2:A59>=A60-56))

Standard deviation of the same weekdays:
=STDEV(FILTER(B$2:B59,WEEKDAY(A$2:A59)=WEEKDAY(A60),A$2:A59>=A60-56))

Lower threshold:
=C60-2*D60

Formulas for Google Sheets; in a French-language version, the functions are called MOYENNE, ECARTYPE, FILTRE and JOURSEM. A value below the mean minus two standard deviations rarely happens without a cause: it is a common statistical benchmark, not a rule. Always compare a day with the same weekday, and take public holidays and seasonality into account (see account for seasonality (opens in a new tab)).

Tip: a “zero conversions on a business day” alert is the most cost-effective of all. It catches broken forms and deleted tags, which are the most frequent and the quietest failures.

With Google Analytics 4

Versions Google Analytics 4, November 2026 interface.

GA4 custom insights evaluate a metric against a condition and send an email when it is met. You need the Editor or Administrator role.

  1. On the Home page, scroll down to the Insights section, click View all insights, then Create.
  2. Choose the evaluation frequency: hourly (web data only), daily, weekly or monthly.
  3. Define the segment: “All users” by default; click Edit to narrow it, for example to the default channel group dimension equal to Organic Search.
  4. Choose the metric and the condition: for example Sessions, % decrease by more than 20; or the “Has anomaly” condition, which needs no threshold and lets GA4 detect unusual deviations.
  5. Give the insight an explicit name (“Organic: sessions -20% week”) and enter the email addresses to notify.

Create at least four insights: organic sessions (weekly, drop of more than 20%), key events (daily, anomaly), purchase revenue for a store (weekly), all-channel sessions (hourly, anomaly) for data collection. Add an alert on the AI assistants channel if you have created one (see create a dedicated channel for AI traffic (opens in a new tab)), with a wide threshold: these volumes are still small and unstable.

Documented limits: 50 custom insights per property, kept for one year at most.

With Matomo

Versions Matomo On-Premise with the Custom Alerts plugin, November 2026.

The Custom Alerts plugin, free on the Matomo Marketplace, adds alerts on any report:

  1. Install and activate Custom Alerts from the Marketplace in the Matomo administration, if it is not already.
  2. Open the alerts management page added by the plugin and create an alert.
  3. Choose the period (day, week or month), the report (for example channel types, or search engines), the metric (visits, goals, revenue) and the condition (greater than, less than, or percentage decrease).
  4. Choose the delivery: email, SMS or Slack.

Create the same set as in GA4: visits from search engines, goal conversions, revenue, total visits.

With Plausible

Versions Plausible Analytics, November 2026.

Plausible offers traffic spike and drop notifications, in the site settings, Email reports section. The drop threshold (12 hour visitor threshold) fires when the number of unique visitors over 12 hours falls below the value you choose, with at most two emails per 24 hours. Set it at around half the usual 12-hour volume: it is an alert for collection failures and outages, not a fine-grained alert on the organic channel.

With Search Console and a script

Versions Search Console API v1, November 2026; Python 3.10 or later.

Search Console does not send alerts when clicks drop. The following script compares the clicks of the last seven complete days with the previous week and with the same week last year (364 days earlier, to keep the same weekdays), then posts the result to a Slack or Teams channel through an incoming webhook if the drop exceeds the threshold. Setting up access (service account added to the property) is described in monitor rankings (opens in a new tab).

#!/usr/bin/env python3
"""Alert if this week's Google clicks drop beyond a threshold."""
import datetime, json, sys
from urllib.request import Request, urlopen
from google.oauth2 import service_account
from googleapiclient.discovery import build

SITE, KEY, WEBHOOK = sys.argv[1:4]
THRESHOLD = 0.20

creds = service_account.Credentials.from_service_account_file(
    KEY, scopes=["https://www.googleapis.com/auth/webmasters.readonly"])
gsc = build("searchconsole", "v1", credentials=creds)


def clicks(end):
    body = {"startDate": (end - datetime.timedelta(days=6)).isoformat(),
            "endDate": end.isoformat(), "type": "web"}
    rows = gsc.searchanalytics().query(siteUrl=SITE, body=body).execute().get("rows", [])
    return rows[0]["clicks"] if rows else 0


end = datetime.date.today() - datetime.timedelta(days=3)
now = clicks(end)
last_week = clicks(end - datetime.timedelta(days=7))
last_year = clicks(end - datetime.timedelta(days=364))

alerts = []
for label, ref in (("previous week", last_week), ("same week last year", last_year)):
    if ref and (ref - now) / ref > THRESHOLD:
        alerts.append(f"Google clicks: {now:.0f} vs {ref:.0f} ({label}), i.e. {(now - ref) / ref:.0%}")

print("\n".join(alerts) or f"Google clicks: {now:.0f}, no drop beyond the threshold.")
if alerts:
    payload = json.dumps({"text": "\n".join([f"Traffic alert {SITE}"] + alerts)}).encode()
    urlopen(Request(WEBHOOK, data=payload, headers={"Content-Type": "application/json"}), timeout=20)

Arguments: the property (sc-domain:example.com), the service account's JSON key, the incoming webhook URL. The {"text": "…"} format is the one used by Slack incoming webhooks; for another messaging tool, adapt the message body to its documentation. Schedule the script every Monday with cron or GitHub Actions.

Search Console data arrives with a two- to three-day delay: this alert complements the faster ones from the analytics tool, and confirms that the drop comes from Google and not from a measurement problem.

With Looker Studio

Versions Looker Studio, November 2026.

Looker Studio does not send conditional alerts, but it can email a report on a schedule (the Schedule email delivery option in the Share menu). Use it for a visual weekly review, alongside the alerts, with a page that shows the week's metrics compared with the previous week and with last year.

With BigQuery

Versions GA4 export and Search Console bulk data export to BigQuery, November 2026.

On a large site, the daily exports to BigQuery make it possible to run a scheduled query that calculates the deviations every morning by channel, by site section or by market, and writes the rows in alert to a table. An automation tool or a cloud function then sends those rows to the team's messaging tool. Keep this route for teams that already have these exports: it requires SQL skills and monitoring of query costs.

Handling an alert

When an alert comes in, follow this order:

  1. Measurement or reality? Open the analytics tool's real-time report and check that the tag fires on the site (see check data collection (opens in a new tab)). Compare with Search Console clicks: if they are stable while organic sessions plummet, measurement is the cause.
  2. Is the site responding? Check availability and HTTP status codes (see monitor uptime and alerts (opens in a new tab)).
  3. What has changed? Deployment log, changes to the consent banner, campaigns that ended, an update announced on the Google Search Status Dashboard.
  4. Where is the drop? Segment by landing page, device, country: a drop concentrated on one section points to a template or to deindexing.
  5. Record the cause and the decision in the incident log (opens in a new tab).

Common mistakes

  • Thresholds that are too tight: an alert that fires every week without a cause ends up ignored. Start from the site's real variability.
  • Comparing a Monday with a Sunday: always compare the same weekday, or complete weeks.
  • Forgetting public holidays and sales: warn recipients about atypical periods, or pause the alerts concerned.
  • Monitoring traffic only: a broken form leaves traffic intact and sends conversions down to zero.
  • Sending alerts to a single person: when they are away, nobody reacts. Use a team address or channel.
  • Not testing the alert: an alert that has never fired may be misconfigured. Lower the threshold once to check that it arrives.
  • Jumping to the conclusion of a penalty: most sudden drops come from a technical or measurement problem.

Frequently asked questions

How do you get an alert when traffic drops in Google Analytics 4?

In GA4, create a custom insight: from the Home page, Insights section, click View all insights, then Create. Choose the evaluation frequency, the segment (for example the Organic Search channel), the Sessions metric and a condition such as a drop of more than 20%, or anomaly detection. Enter the email addresses to notify. A property accepts up to 50 custom insights.

What threshold should you choose for a traffic drop alert?

The right threshold depends on the site's normal variability. A common benchmark is to alert below the mean of the previous eight same weekdays minus two standard deviations. Without that calculation, start with a 20% drop over a complete week for traffic, and adjust after a month: a small site fluctuates much more from one day to the next than a large one.

Does Search Console send alerts when clicks drop?

No, Search Console does not send an alert when clicks or impressions drop; its emails cover technical issues such as indexing or security. To be notified of a drop in clicks, use a script that queries the Search Console API every week and sends a message beyond a threshold, or an alert on the organic channel in your analytics tool.

How can you tell whether a drop comes from tracking or from SEO?

Compare two independent sources. If Search Console clicks are stable while organic sessions in the analytics tool plummet, measurement is the cause: tag removed, consent misconfigured or filter changed. If both drop together, the problem is real: rankings, indexing or site availability. Also check the real-time report to confirm that the tag fires.

Updated on

Topic checklist (PDF)

And now?

In the “Automation and quality control” topic

  1. Schedule automated crawls
  2. Monitor HTTP status codes and uptime
  3. Monitor robots.txt and noindex
  4. Monitor canonicals and sitemaps
  5. Monitor titles and structured data
  6. Monitor performance
  7. Monitor backlinks and brand mentions
  8. Monitor rankings
  9. Schedule recurring GEO tests
  10. Create alerts for traffic and conversion drops
  11. Create deindexing alerts
  12. Integrate SEO, performance and accessibility tests into CI/CD
  13. Review template changes
  14. Keep a history of changes
  15. Keep an incident log
  16. Generate periodic reports
  17. Assign an owner to each issue