Social Media E-Mail Alerts

Description

Have you ever noticed that your site was submitted to social media sites, but only days after the submission? Ever wished you had known about the submission so you take measures to increase the visibility of the submission?

By setting up rules that are specific to the traffic patterns of your site, you can be notified of a new social media submission when the initial visitors from that submission come trickling in. For social media sites like Digg.com where your window of opportunity to act is just 24 hours, this early notification can be the difference between thousands of visitors and next to none.

Note: This plugin is unlike the alerts in Google Analytics in 3 important ways:

  1. GA sends out its alerts the following day, not in real-time like this plugin.
  2. GA alerts you to changes in overall site traffic whereas this plugin tracks traffic at the page level.
  3. You can set your own time threshold e.g. 5 visits in a minute or 1000 visits in an hour.

Screenshots

  • Admin screen for configuring what to track and what traffic and time thresholds need to be met for an email to be triggered.

FAQ

Installation Instructions
  1. Upload the social-media-email-alerts folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Set up the rules for triggering an alert on the admin page. Rules can be based on referring domain e.g. Facebook.com or by parameters in the querystring e.g. source=twitter.com.

Example 1:

These settings will send an e-mail if your site receives 5 visitor from facebook.com to any one page on your site within a 60 minute window.

Value to Match: facebook.com
Min. Visits: 5
Reset (minutes): 60

Example 2:

These settings will send an e-mail if your site receives 10 visits to any one page, within a 2 hour window, and the querystring includes source=twitter.com. In this case, the referring site doesn’t matter.

Value to Match: source=twitter.com
Min. Visits: 10
Reset (minutes): 120

Where is data stored?

A table, wp_social_media_email_alerts, is created (the wp_ prefix may actually vary based on your configuration). This table stores the visits that match the rules you specified. The records in this table are deleted once they no longer match a rule or have expired so the table shouldn’t get too large.

Does this plugin work with caching plugins?

Yes. Simply specify on the admin page that you are using WP-Cache or WP Super Cache. Should work with other caching plugins too.

Does this alert system work only for social media sites?

No. You can specify any referral domain of your choosing. Social media sites are simply what prompted the creation of this plugin.

I like this plugin, do you have others?

I sure do! My complete collection includes:

Real-Time Find and Replace
Set up find and replace rules that are executed AFTER a page is generated by WordPress, but BEFORE it is sent to a user’s browser.

RSS Includes Pages
Modifies RSS feeds so that they include pages and not just posts.

Republish Old Posts
Republish old posts automatically by resetting the date to the current date. Puts your evergreen posts in front of your users via the front page and feeds.

Enhanced Plugin Admin
At-a-glance info (last update date, rating, votes) on your site’s plugin page about the plugins you have installed (both active and inactive). Easily spot potential problems due to plugins no longer being supported or that have received low ratings.

Add Any Extension to Pages
Add any extension of your choosing (e.g. .html, .htm, .jsp, .aspx, .cfm) to WordPress pages. Change it anytime.

Social Media E-Mail Alerts
Receive e-mail alerts when your site gets traffic from social media sites of your choosing. You can also set up alerts for when certain parameters appear in URLs.

Contributors & Developers

“Social Media E-Mail Alerts” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5

  • Fixed problem with recording visits when caching is being used.
  • Better error handling so anyone using WP Debug shouldn’t see any warnings or notices.
  • Tweaks to documentation including the readme.txt.

1.4.3

  • Confirmed that plugin works fine with WordPress 3.9.1.

1.4.2

  • Fixing contributor list format.

1.3

  • Confirm that plugin works fine with WordPress 3.2.1.

1.2

  • Syncing version numbers.

1.1

  • FAQ updates.

1.0

  • Initial release.