Magento/Adobe Commerce

The Raygun for Magento/Adobe Commerce module allows you to easily set up Real User Monitoring and Crash Reporting on Magento/Adobe Commerce sites without having to write a single line of code. Compatible with your full tech stack across both desktop and mobile.


  • Magento 2.4.x
  • PHP 5.6.x, 7.x, 8.x
  • Composer 2

This module utilizes the lower-level Raygun provider Raygun4PHP is used to track server-side errors and exceptions.

Further documentation on the JavaScript component can be found in Github repo.


Update your composer.json to include the following module -

composer require "magenizr/magento2-raygun":"^1.1.0" --no-update

Run the following command to update your composer.lock file -

 composer update magenizr/magento2-raygun --no-install

Which should output the following -

Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
  - Locking magenizr/magento2-raygun (1.1.0)

Run composer install to install the package which should output the following -

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
  - Installing magenizr/magento2-raygun (1.1.0): Extracting archive

Enable the module for your site by running the following command to start tracking Real User Monitoring events -

php bin/magento module:enable Magenizr_Raygun

Add your API key via the Magenizr dashboard by going into your Stores > Configuration > Magenizr > Raygun. Add it to the API Key field from there. -

API Key | paste_your_api_key_here

Real User Monitoring Installtion


Once the module is enabled, Raygun features are available to enable via the Magenizr dashboard.

  1. Simply go to Stores > Configuration > Magenizr > Raygun.
  2. Paste your Raygun API key
  3. Enable PHP Real User Monitoring and/or Crash Reporting
  4. Clear cache
  5. The next PHP exception, error or session in the frontend will get pushed to Raygun immediately

Real User Monitoring session view


Customers is avaliable to view! In order to track this, simply enable the 'Track customer' option in the Magenizr dashboard. You can also enable tracking anonymous user was well.

Customers installation


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