Get Email Alerts from Google Analytics

Consider this Google Analytics Reports on crack. With this script, you can get an email when any of your websites drop in visit or page view counts (or anything else you want).

This plugin uses the Google Analytics API to send you reports conditionally, and is highly extensible, allowing you to pick and choose the stats you want to email based on, the threshold to notify you at, and which stats you want to send. Best of all, it accepts a list of websites within your account to check, such that you can be managing hundreds of sites, and only receive reports for the ones that need your attention.

Obviously, a notification of a significant decline in web stats could indicate a site being down, hacked, or busted in the search results. Ready to get it? You can download the Critical Alerts script here. Want help implementing it? Watch the video below for a blow-by-blow.

After watching the video, be sure to Subscribe to my RSS Feed, as I’ll be releasing more complex and elegant reports based on this script.

Also, in case it’s unclear in the Script (or if you want to copy paste it), the cron job to run is:
php ~/public_html/analytics/alert.php

Finally, a Special Thanks to:

  • Digg
  • Sphinn
  • del.icio.us
  • RSS

Popular Posts

Alternatively, you may want to return to the Home Page to view the most recent blog posts in order. If you have any questions, I make a point of reading and responding to all comments. Thanks for joining!

  • Thank You.
  • This will come in handy for modification to send an email alert on successful conversion for Xbox 360 repair orders.
  • Jan
    When does it send you the email alert? Let say, that your traffic drops because your server is down. Do you receive an email immediately, because as you might know, when you use Google Analytics Alerts you will receive an alert at the pre-set time let say in the morning and not when your server was down.
  • Great stuff, thanks
  • thats great news for beginer. nice blog
  • very helpful information regarding Google alert
blog comments powered by Disqus