PHPackages                             fredden/magento2-module-javascript-error-reporting - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. fredden/magento2-module-javascript-error-reporting

ActiveMagento2-module

fredden/magento2-module-javascript-error-reporting
==================================================

A Magento 2 module which captures JavaScript errors for later review by website administrators

2.3.1(2mo ago)3138.1k↓35%4[1 issues](https://github.com/fredden/magento2-module-javascript-error-reporting/issues)[1 PRs](https://github.com/fredden/magento2-module-javascript-error-reporting/pulls)CC-BY-NC-SA-4.0PHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

Since Jan 15Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/fredden/magento2-module-javascript-error-reporting)[ Packagist](https://packagist.org/packages/fredden/magento2-module-javascript-error-reporting)[ Docs](https://github.com/fredden/magento2-module-javascript-error-reporting)[ RSS](/packages/fredden-magento2-module-javascript-error-reporting/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (14)Versions (25)Used By (0)

JavaScript error reporting for Magento 2
========================================

[](#javascript-error-reporting-for-magento-2)

[![Latest stable version](https://camo.githubusercontent.com/4e40acc1e973f0ed5f8126860194ed594931092a2132ec4975beaa5b4328f602/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6672656464656e2f6d6167656e746f322d6d6f64756c652d6a6176617363726970742d6572726f722d7265706f7274696e673f7374796c653d706c6173746963)](https://packagist.org/packages/fredden/magento2-module-javascript-error-reporting)[![Total downloads](https://camo.githubusercontent.com/0b3569ce5b8980414b410700423ad470377614e546beacb2761d0d7db527290c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6672656464656e2f6d6167656e746f322d6d6f64756c652d6a6176617363726970742d6572726f722d7265706f7274696e673f7374796c653d706c6173746963)](https://packagist.org/packages/fredden/magento2-module-javascript-error-reporting/stats)[![Code quality alerts](https://camo.githubusercontent.com/f0cd19e50225424f5d185ae2de2c78e03a20bbe19c8dfe9d860a382b552785ba/68747470733a2f2f696d672e736869656c64732e696f2f6c67746d2f616c657274732f672f6672656464656e2f6d6167656e746f322d6d6f64756c652d6a6176617363726970742d6572726f722d7265706f7274696e672e7376673f6c6f676f3d6c67746d267374796c653d706c6173746963)](https://lgtm.com/projects/g/fredden/magento2-module-javascript-error-reporting/alerts/)

Overview
--------

[](#overview)

A Magento 2 module which captures JavaScript errors for later review by website administrators. JavaScript errors are kept for up to 180 days (configurable) and available via Magento's administration back-end.

Screen-shot of summary view in admin area[![](Screenshot.png)](Screenshot.png)

Features
--------

[](#features)

- JavaScript errors are recorded for later review
    - JavaScript error message
    - File (URL), line number, column number of exception if available
    - Stack trace of exception if available
- Limited browser information which might be useful for debugging (but hopefully not for fingerprinting / identifying individual users) is recorded
    - Current URL when error occurred
    - User agent
    - Viewport width &amp; height
- Errors are kept for up to 180 days (configurable) and automatically deleted after this period
- Errors are available for review in Magento's back-end
    - Admin -&gt; Reports -&gt; JavaScript Error Reporting
- Errors can be marked as ignored to help reduce noise / focus on new errors
- Module can be enabled / disabled via configuration
    - Admin -&gt; Stores -&gt; Settings -&gt; Configuration -&gt; Advanced -&gt; System -&gt; JavaScript Error Reporting

Installation
------------

[](#installation)

This module is available on packagist.org and installable via composer:

```
composer require fredden/magento2-module-javascript-error-reporting
```

This module uses [semantic versioning (semver)](http://semver.org/).

Compatibility
-------------

[](#compatibility)

VersionMagento Open SourceAdobe Commerce2.0.x❌ *unsupported*❌ *unsupported*2.1.x❌ *unsupported*❌ *unsupported*2.2.x✅ Yes `^0.1`✅ Yes `^0.1`2.3.x✅ Yes `^1.2.2`✅ Yes `^1.2.2`2.4.x✅ Yes `^1.0.1`✅ Yes `^1.0.1`2.4.4✅ Yes `^1.0.1 || ^2.0`✅ Yes `^1.0.1 || ^2.0`2.4.5✅ Yes `^1.0.1 || ^2.0`✅ Yes `^1.0.1 || ^2.0`2.4.6✅ Yes `^1.0.1 || ^2.0`✅ Yes `^1.0.1 || ^2.0`PHP version 7.1 or better is required.

No third-party libraries nor services are required.

Contributing
------------

[](#contributing)

Community contributions are welcome. Please open a pull request on GitHub if you have a code suggestion, or an issue on GitHub if you are encountering a problem with this module. Please note that issues relating to the problems that this module highlights in others' code are out of scope for support here.

Future development ideas
------------------------

[](#future-development-ideas)

- filter grid by date **and time** range
- details of "errors like this" (same hash) on details page.
    - perhaps links for: first, last, next, previous
    - maybe a chart of this error over time
        - show same charts as statistics page, but specifically for this error
- statistics page, link for details should go to latest not first instance of error
- charts on statistics page, click node to go to details pane with this time filter applied

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~85 days

Recently: every ~270 days

Total

23

Last Release

69d ago

Major Versions

0.1.0 → 1.2.32021-04-23

1.9.0 → 2.0.02023-03-21

PHP version history (4 changes)1.0.0PHP ^7.1 || ^8.0

2.0.0PHP ~8.1.0 || ~8.2.0

2.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

2.3.1PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c413fce22e822769dd63252044fd3d7edc09ebdb90943ecbd55b19090eafa365?d=identicon)[fredden](/maintainers/fredden)

---

Top Contributors

[![fredden](https://avatars.githubusercontent.com/u/334786?v=4)](https://github.com/fredden "fredden (61 commits)")[![NathanDayFE](https://avatars.githubusercontent.com/u/68845089?v=4)](https://github.com/NathanDayFE "NathanDayFE (1 commits)")[![pykettk](https://avatars.githubusercontent.com/u/40261741?v=4)](https://github.com/pykettk "pykettk (1 commits)")

---

Tags

magento2

### Embed Badge

![Health badge](/badges/fredden-magento2-module-javascript-error-reporting/health.svg)

```
[![Health](https://phpackages.com/badges/fredden-magento2-module-javascript-error-reporting/health.svg)](https://phpackages.com/packages/fredden-magento2-module-javascript-error-reporting)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

281773.3k](/packages/baldwin-magento2-module-url-data-integrity-checker)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
