@elu-labs/analytics-browser 1.410.2 → 1.410.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -9
- package/dist/elu.js +1 -1
- package/dist/elu.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/main.cjs +1 -1
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/storage.js +1 -1
- package/dist/storage.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,15 +80,16 @@ than creating one on every render or mount. The NPM client does not create
|
|
|
80
80
|
|
|
81
81
|
### Initialization options
|
|
82
82
|
|
|
83
|
-
| Option
|
|
84
|
-
|
|
|
85
|
-
| `api_host`
|
|
86
|
-
| `assets_host`
|
|
87
|
-
| `capture_pageview`
|
|
88
|
-
| `autocapture`
|
|
89
|
-
| `capture_exceptions`
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
83
|
+
| Option | Default | Behavior |
|
|
84
|
+
| -------------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
85
|
+
| `api_host` | ELU Cloud | HTTPS origin for your instance's events, flags and replay. Site authority must permit the same endpoints. |
|
|
86
|
+
| `assets_host` | Instance origin, or ELU Cloud assets for the Cloud ingest origin | Optional separate HTTPS origin for recorder assets. |
|
|
87
|
+
| `capture_pageview` | `'history_change'` | Initial pageview plus History API and hash-route changes. `true` captures the initial pageview only; `false` disables automatic pageviews. |
|
|
88
|
+
| `autocapture` | `true` | Enables automatic interaction capture, subject to site policy and consent. |
|
|
89
|
+
| `capture_exceptions` | `false` | Set `true` for unhandled errors and promise rejections. Manual `captureException()` remains available. |
|
|
90
|
+
| `capture_network_requests` | `true` | Set `false` to stop reporting fetch/XHR requests. Each report carries method, status, timing and a scrubbed path only — never query strings, headers or bodies. Up to 200 per page. |
|
|
91
|
+
| `capture_performance` | Off unless enabled in ELU | `true` enables memory and long-task samples; `false` disables both. An object overrides individual settings; see below. |
|
|
92
|
+
| `loaded(client)` | None | Runs after local startup and before the initial automatic pageview. It does not mean configuration, flags or delivery have completed. An async callback is not awaited. |
|
|
92
93
|
|
|
93
94
|
The script loader chooses its startup options; changing NPM options does not
|
|
94
95
|
configure a script installation. Replay and privacy settings come from ELU.
|