How to create real-time alerts for Google Analytics

How to create real-time alerts for Google Analytics

August 10, 2017 in Getting Started

If you think about it, there’s a good number of cases where real-time alerts can be really helpful. Whether you’re launching a new campaign, want to be notified by sudden peaks in traffic, or want to keep track of your javascript errors you configured in Tag Manager, having real-time alerts would surely allow you to act faster.

Google Analytics itself doesn’t have the option to create real-time alerts, but, here at metric.live, you can create up to 5 real-time alerts for free. Let me show you how:

Getting up and running with your first real-time alert is really easy. You’ll need to sign up for a free account at metric.live, and once you’ve done that it takes just 3 simple step: connect your Google Analytics account, create and configure your alert and decide how you want to get notified.

 

Connect your Google Analytics account

To start setting up alerts you need to connect at least one Google Analytics. This will allow you to select any of the Google Analytics profiles that are associated with your account.

Use the left side navigation to go to your “connected accounts”. There you can add an account and choose a label for that account. You’ll be redirected to Google to give the required permissions. If successful you’ll be redirected to the same screen where you’ll see your newly connected account.

metric.live: connected account

Although Google Analytics makes it easy to share access between accounts, some people still manage multiple accounts. (ex: for clients or friends). With metric.live it’s no problem to add more than one account and manage all your alerts in one central place.

 

Create a real-time alert

The alert center is the place where you create and manage your alerts. Use the left side navigation to go to “My Alerts”. If you haven’t added any alerts before the table should be empty and you can go ahead clicking the “create new alert” button in the top left of the screen and select “Real-Time Alert”.

At the “new alert” screen you’ll see a number of different panels and sections. On the left side you can save or cancel a new alert, and you can also verify your alert configuration before you save it. On the right side, you’ll see 4 different sections. The first one allows you to pick a descriptive name for your alert and choose the Google Analytics view you want to use.

The second section, alert trigger, is where most of the configuration happens. Here, you select a metric and an expression. For example, if you want to get notified if more than 20 people a currently visiting your website, you select “Active Users” is greater than “20”. Easy as pie.

Now, if you want to be more specific, you can also opt to only trigger the alert if certain conditions are met. Let’s say you only want to be notified if more than 20 people are visiting a certain landing page, you can choose to only apply this trigger when the “Page Path” or “Page Title” contains a certain string.

Trigger real time alert

 

Decide how you want to get notified

Lastly, before you can save your new alert, you have to decide on how you wish to be notified when the alert is triggered. The options here are really flexible. You choose not to be notified (then it will just show up in your dashboard) or choose between one or more notification options. As of writing, you can be notified by email, text message, Slack, Twitter or via a custom webhook. Just check to notification option you want to enable and provide the required information.

Metric.live notification settings

Make sure you test your alert before you save it, and after that your alert is up and running. When the alert is triggered you’ll get notified on your selected channel, and it will also show up on your dashboard with more detailed information.

Want real-time Google Analytics alerts? Notify by Slack, SMS and more!