Creative Anvil is now Anvil Analytics + Insights. Learn more about the change here.
Blog Home

Setting Up a Basic “Custom Alert” in Google Analytics: Step-By-Step Instructions to Receive Notifications When Your Site’s Tracking Is Down

By Jessica
June 11, 2019
Read Time: 6 minutes

Your website holds a ton of valuable data about your users, customers, and potential leads. But in order to do any meaningful analysis with all your tracking data, you first have to collect it successfully.

In this post, we’re going to go over step-by-step instructions for how to set up Custom Alerts in Google Analytics (GA). Custom Alerts help marketing and analytics teams identify problems quickly, so they can address problems in the early stages. The basic Custom Alert we provide here will notify you the next day if your tracking is compromised (or your site is down).

Important Note: Custom Alerts must be created by each GA user who wants access to the diagnostic report provided after an Alert is fired.

Instructions for Setup

ALARM - NO TRAFFIC - Daily Sessions is less than 5

This type of Alert is very common, as it applies to just about every site. The Alert will fire when fewer than 5 sessions are recorded to your site in a given day. We chose the number 5 because on a busy site a few sessions might still be recorded even if tracking isn’t working properly. If your site has a high variance of user sessions, you might raise or lower that number accordingly. For our purposes here, when daily site sessions drop below 5, we’re assuming either the tracking implemented has broken, or the site is down.

Here are step-by-step instructions for how to set up this Alert:

Create a custom segment to be used in the Alert.

  1. Navigate to the Audience tab on the left-hand side and click overview.
  2. At the top, click “+ Add Segment.”

+Add Segment in Google Analytics

  1. Then click “+ New Segment.”

Creating new segment in Google Analytics

  1. Name the segment. We recommend using a standardized naming convention, such as [Website name] - [Sessions/Users scope] - [Rules]. For example, Anvil Analytics - Sessions - viewed contact page.

Naming a Google Analytics segment

  1. Click on “Conditions”.
  2. Change default value to “Hostname.” Set the Hostname to your URL, for example anvilinsights.com.
  3. Click “Save.”

Create the Custom Alert.

  1. Go to GA Admin.
  2. Click the Gear on the bottom left-hand side. In the view column, click on “Custom Alerts.”

Finding custom alerts in Google Analytics admin

  1. Click the button that says “+ New Alert.”

Google Analytics +New Alert button

  1. Then you should see the following screen:

Google Analytics custom alert settings

 

  1. Name the Alert “ALARM - NO TRAFFIC for - Daily Sessions is less than 5.”
  2. Don’t apply to other views.
  3. Leave the period set to “Day.”
  4. Decide if you want to be alerted either by email, or by both email and text. The text alert will include more limited information. As a reminder about the email alert, you can decide if you want other members of your organization to receive the email. However, even though they will be alerted, the diagnostic report will only be available to the GA user who created the Custom Alert.

An example of a text alert:

Google Analytics Custom Alert Text Alert example

The email alert:

Google Analytics custom alert email example

And the diagnostic report:

Google Analytics Custom Alert Diagnostic Report

  1. Under alert conditions, in the “this applies to” dropdown menu, change “All Traffic” to the name of the segment you created above (Anvil Analytics - Sessions - viewed contact page).
    • Leave “Sessions” selected in the “Alert me when” dropdown menu.
    • Leave “Is less than” selected in the “Condition” dropdown. Set the value to 5.

Google Analytics Custom Alert Condition Settings

  1. Click the blue button that says “Save Alert.”

You've Set Up Your First Custom Alert...Now What?

Setting up a standard Custom Alert like this one is a simple way to ensure the consistency and accuracy of your tracking so that you can monitor your site's traffic.

In addition to simple, standard Alerts like this one, you can use GA’s Custom Alerts to set up more complex warning systems to monitor your website’s marketing strategy. For example, you might want to know if the conversion rate for a certain key touchpoint falls below a particular threshold during a given week. We’ll cover the process for that in a later post.

If you’re interested in learning more about how you can leverage Google Analytics to boost your marketing analytics capabilities and improve your digital return, get in touch.

About the Author
Jessica joined the Anvil team after earning her degree in Marketing. She really enjoys getting to work on something different every day in her role, whether that’s helping with a Facebook project or solving an issue in Google Analytics. Her problem-solving prowess extends beyond work, too—she loves games and is her family’s pinochle champ.
More from this author
Ready to start a project?
let's work together