Raygun

Integrating LogRocket with Raygun

Add a LogRocket session recording URL to every Raygun exception report.

LogRocket.getSessionURL(function (sessionURL) {
  // V2 of raygun library
  rg4js('withCustomData', { logrocket: sessionURL });
});
LogRocket.getSessionURL(function (sessionURL) {
  // V1 of raygun library
  Raygun.withCustomData({ logrocket: sessionURL });  
});