Web Analytics

Google Analytics Email Alerts

John brought to my attention a neat little Google Analytics PHP script from Latent Motion. It emails you whenever a website of yours drops in visits, page views, has sales spikes, changes in keyword trends, or in adwords ROI.

Setup requires alerts.php, googleanalytics.class.php (both are included in the zip) and the ID's for your sites (that's the id=[numbers] in the URL of a report).

Customizing the script is easy, you just put your email address, analytics login/password, and so on in their places at the top of the script like so:

12345678, “deniSite2.org” => 1234568, “demoSite3.org” => 1234569 ); ]]>

Then just upload to your server and set it to run as a standard cron job. Pretty easy.

You can get more info, as well as download the scripts at the Latent Motion website.

Cardinal Path

Share
Published by
Cardinal Path

Recent Posts

Boost Lead Generation with Amplitude’s Autocapture: A No-Code Solution

Imagine this: You’ve built a fantastic lead generation website. The design is sleek, the messaging…

3 days ago

Mastering GA4’s Data Model: A Refresher on Event-Based Tracking & User Insights

By now, most organizations have transitioned to Google Analytics (GA4), marking a fundamental shift in…

4 days ago

Server-Side Tagging Explained: Is it for you?

If you've heard discussions about server-side tagging but aren't sure what it is—or whether it's…

1 week ago

This website uses cookies.