Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wp-digital/wp-bugsnag-fe/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Bugsnag Frontend Error Monitoring
Description
Automatically detects issues from browser on site and notifies by email, chat or ticket system via Bugsnag.
Install
- Preferable way is to use Composer:
composer require innocode-digital/wp-bugsnag-fe
By default, it will be installed as Must Use Plugin.
It's possible to control with extra.installer-paths in composer.json.
- Alternate way is to clone this repo to wp-content/mu-plugins/ or wp-content/plugins/:
cd wp-content/plugins/
git clone git@github.com:innocode-digital/wp-bugsnag-fe.git
cd wp-bugsnag-fe/
composer install
If plugin was installed as regular plugin then activate AWS Lambda Prerender from Plugins page
or WP-CLI: wp plugin activate wp-bugsnag-fe.
Configuration
Add the following constants to wp-config.php:
Usage
By default, library will be loaded with higher priority than wpenqueuescripts hook with attribute defer but
it's possible to control through innocodebugsnagfedeferred hook: