rapidez/openreplay

There is no license information available for the latest version (0.3.0) of this package.

OpenReplay integration for Rapidez

Installs: 3 929

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Language:JavaScript

0.3.0 2025-05-02 09:29 UTC

This package is auto-updated.

Last update: 2025-05-02 09:30:24 UTC


README

Integration for https://openreplay.com

Installation

yarn add @openreplay/tracker -D
composer require rapidez/openreplay

Configuration

Add your OpenReplay credentials in the .env:

VITE_OPENREPLAY_URL=https://domain.com/ingest
VITE_OPENREPLAY_TOKEN=

Optionally you can disable the network requests capturing with:

VITE_OPENREPLAY_CAPTURE_NETWORK=false

When network capture has been enabled you should redact some values like passwords. We have a default list which you can extend by adding:

VITE_OPENREPLAY_SANITIZE_HEADERS="Token Authorization"
VITE_OPENREPLAY_SANITIZE_JSON_VALUES="new_password password email"

For more advanced sanitization you can set

// https://docs.openreplay.com/en/installation/network-options/
window.openreplaySanitizer = (requestAndResponse) => {
    return requestAndResponse;
}

License

GNU General Public License v3. Please see License File for more information.