The Raygun4WP plugin

This is the official Raygun plugin for WordPress sites. When added to your WordPress blog or site, it allows you to automatically send and track all web errors and exceptions that are generated by your site.

It also adds the Raygun dashboard to your Admin panel, so you can track your site's errors without leaving it.

Why add Raygun to my site?

WordPress is a great platform for content management. Its modular architecture allows you to plug in exactly what functionality you need for your organisation or business. However, not all plugins are coded to the same high standards - many will cause your site to generate errors when you or your users visit a page.

The same goes for themes - some can cause grossly inefficient page load times, as they are coded poorly and create errors. This leads to a slow and unpleasant experience for your users.

Or worse, plugins can result in errors when users take certain actions. This could result in a lost sale if a user can't purchase a product, or a content page is missing! This plugin automatically sends all errors that your WordPress site generates, right when your users encounter them. You find out immediately when something's not working, right when your users do, without them having to tell you about it!

What sort of errors will my site send?

All PHP errors and exceptions (that result in HTTP 500s), and you have the option of also sending HTTP 404s that your users see, too.

How long does it take to add?

Seconds. Raygun4WP adds a configuration page to your Admin panel, where you can enter your application's API key. That's it, no code to write or PHP files to alter.


Raygun4WP requires that your WordPress site be installed on a server with:

  • PHP 5.3 or greater
  • The cURL library


  1. Go to your WordPress admin panel, and click on Plugins. Search for Raygun4WP in the field provided. Click on Install, then Activate it.
  2. From your Raygun dashboard, copy the API key. Locate the Raygun4WP configuration page, then paste the API key into the field provided.
  3. Set Error Reporting to Enabled, hit Save Changes, and you're done!

More information

You find out more about the plugin at its page on the WordPress plugin site, or you can view the code at the plugin's GitHub repository.