Site Speed Alerts
The “Custom Alerts” configuration section in Google Analytics is behind the gear icon in the lower left of any page and under the “View” column.
To create a new alert, click Custom Alerts > New Alert.
For this example, create an alert via email and text if the home page for mobile takes greater than 10 seconds to load, on average, on any day. Here are the steps.
- Assign a name to the custom alert.
- Apply the alert to one or more Google Analytics views.
- Select “Day” as the period, so it notifies for all days.
- Select to be notified by email, text, or both.
Google Analytics offers limited alert conditions by default. There’s no way to select multiple conditions, such as home page only and mobile only.
So, for this example, create an advanced segment to identify only the home page for the mobile version of my website. Save this Custom Alert for now — by selecting that this alert condition applies to “All Traffic” and to alert me when “Avg. Page Load Time > 10 seconds” — and edit it after you create the advanced segment.
Add advanced segments to the Custom Alerts by going to “Personal Tools & Assets” section in the same “View” column and clicking “Segments.” (I’ve explained how to create advanced segments.)
Alternatively, any report in Google Analytics has the configuration area to create or apply advanced segments. From any report, click “All Users.”
Then, click “New Segment.”
In this example, the mobile home page is distinct from desktop, so I need to enter the mobile home page URL.
If the mobile and desktop had identical URLs, I would apply “Device Category” contains “mobile.”
Return to the Custom Alert and update it to apply the advanced segment. Save the updated alert and you are set.
Continue the process for any pages to include in the alert and for any other segments, such as device, country, or source of traffic.
Google generally sends alerts around noon following the trigger date.