https://github.com/rapidez/openreplay
https://github.com/rapidez/openreplay
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rapidez/openreplay
- Owner: rapidez
- License: gpl-3.0
- Created: 2023-04-11T14:04:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T08:20:27.000Z (about 1 year ago)
- Last Synced: 2025-12-14T11:46:40.095Z (7 months ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Rapidez OpenReplay
Integration for https://openreplay.com
## Installation
```
yarn add @openreplay/tracker @openreplay/tracker-graphql -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
```js
// https://docs.openreplay.com/en/installation/network-options/
window.openreplaySanitizer = (requestAndResponse) => {
return requestAndResponse;
}
```
## License
GNU General Public License v3. Please see [License File](LICENSE) for more information.