@elu-labs/analytics-browser 1.410.0 → 1.410.1
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 +17 -9
- package/dist/elu.js +1 -1
- package/dist/elu.js.map +1 -1
- 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
|
@@ -32,15 +32,22 @@ still return `undefined`.
|
|
|
32
32
|
|
|
33
33
|
## NPM installation
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
project
|
|
35
|
+
Use NPM when it appears in your project's Web setup in ELU. Otherwise, use the
|
|
36
|
+
Script snippet supplied in ELU settings and
|
|
37
|
+
contact ELU support about project activation. Installing the package does not
|
|
38
|
+
activate a project or upgrade an existing script installation.
|
|
38
39
|
|
|
39
40
|
```sh
|
|
40
|
-
npm install @elu-labs/analytics-browser
|
|
41
|
+
npm install @elu-labs/analytics-browser@1.410.1
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
The page itself must use HTTPS, including during local development. Serve your
|
|
45
|
+
local app with a certificate trusted by your browser, or use a trusted HTTPS
|
|
46
|
+
preview. Initialization stays paused on HTTP localhost; HTTPS collection
|
|
47
|
+
endpoints alone are not sufficient.
|
|
48
|
+
|
|
49
|
+
Initialize once in browser code after your consent manager permits analytics,
|
|
50
|
+
and reuse the returned client:
|
|
44
51
|
|
|
45
52
|
```ts
|
|
46
53
|
import { createEluClient } from '@elu-labs/analytics-browser'
|
|
@@ -155,10 +162,11 @@ Keep passwords, payment details, tokens and sensitive personal data out of
|
|
|
155
162
|
event properties, IDs and exception messages. Replay masking does not sanitize
|
|
156
163
|
arbitrary custom event properties.
|
|
157
164
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
165
|
+
Session replay is activated separately for each project. Contact ELU support if
|
|
166
|
+
it is unavailable; installing the package does not enable recording. Replay
|
|
167
|
+
also requires consent, a site configuration that permits it, and an eligible
|
|
168
|
+
browser and session. Review the site's input, text, image and blocked-element
|
|
169
|
+
settings in ELU; do not assume all visible text and images are masked by default.
|
|
162
170
|
|
|
163
171
|
## Feature flags
|
|
164
172
|
|