Wordpress

Our Raygun4WP plugin allows you to easily setup Crash Reporting and Real User Monitoring on Wordpress websites without you having to write a single line of code.


Dependencies

This plugin utilizes lower-level Raygun providers to add this functionality:

  • Raygun4PHP is used to track server-side errors and exceptions
  • Raygun4JS tracks errors and monitors user performance on the client-side

Installation

From Wordpress plugin directory

Add the Raygun4WP plugin using the admin panel located inside of your Wordpress website. Raygun4WP is available on wordpress.org/plugins/raygun4wp/.


Usage

  1. Navigate to your Wordpress admin panel, click on Plugins and then Activate Raygun4WP
  2. Go to the Raygun4WP settings panel either by the sidebar or admin notification
  3. Copy your Raygun Application’s API key and paste it into the API key field
  4. Enable Error Tracking (both server-side and client-side), Real User Monitoring and any other options
  5. Save your changes
  6. Done!

Real User Monitoring

You can enable Real User Monitoring under the Pulse - Real User Monitoring section.

Real User Monitoring

note: User details will be included if you have user tracking enabled.


Error tracking

Enable server-side error tracking to gain visibility on PHP errors occurring when rendering your website. Automatically track JavaScript errors that occur in your user’s browsers by enabling client-side error reporting.

Raygun for wordpress crash reporting settings


User tracking

Include the currently logged in user details (email address, first name and last name) with each crash report or RUM session. The user’s information will then be displayed when viewing crash reports and user sessions.

note: When a user is not logged in, no user information will be sent and instead a random ID will be assigned to the user.


Tagging errors

Tags are custom text allowing you to easily identify errors. JavaScript and PHP errors can be tagged independently through a comma-delimited list in the field on the settings page.

Raygun for wordpress error tagging

tip: Error, JavaScript would add two tags. The first being Error second one being JavaScript.


Ignored domains

You can enter a comma-delimited list to prevent certain domains from sending errors and from being tracked with Real User Monitoring.

Domains to ignore for Crash Reporting and RUM

The provider is open source and available at the Raygun4JS repository.