@unisights/analytics 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. package/README.md +9 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -119,18 +119,15 @@ If you prefer to control when the SDK initializes, omit `data-insights-id` and c
119
119
 
120
120
  All options are passed to `init()` or via `data-analytics-config` on the script tag.
121
121
 
122
- | Option | Type | Default | Description |
123
- | ----------------- | --------- | --------------- | ------------------------------------- |
124
- | `endpoint` | `string` | env var | URL to send analytics events to |
125
- | `insightsId` | `string` | from script tag | Your Unisights project ID |
126
- | `secret` | `string` | from script tag | Encryption secret key |
127
- | `salt` | `string` | from script tag | Encryption salt |
128
- | `debug` | `boolean` | `false` | Log events to the console |
129
- | `flushIntervalMs` | `number` | `15000` | How often to flush events (ms) |
130
- | `trackPageViews` | `boolean` | `true` | Auto-track page views |
131
- | `trackClicks` | `boolean` | `true` | Auto-track click events |
132
- | `trackScroll` | `boolean` | `true` | Auto-track scroll depth |
133
- | `wasmPath` | `string` | inlined | Override wasm binary path (CDN usage) |
122
+ | Option | Type | Default | Description |
123
+ | ----------------- | --------- | --------------- | ------------------------------- |
124
+ | `endpoint` | `string` | env var | URL to send analytics events to |
125
+ | `insightsId` | `string` | from script tag | Your Unisights project ID |
126
+ | `debug` | `boolean` | `false` | Log events to the console |
127
+ | `flushIntervalMs` | `number` | `15000` | How often to flush events (ms) |
128
+ | `trackPageViews` | `boolean` | `true` | Auto-track page views |
129
+ | `trackClicks` | `boolean` | `true` | Auto-track click events |
130
+ | `trackScroll` | `boolean` | `true` | Auto-track scroll depth |
134
131
 
135
132
  ---
136
133
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unisights/analytics",
3
3
  "description": "Unisights browser event tracking script",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "main": "dist/unisights.min.js",
6
6
  "module": "dist/unisights.min.js",
7
7
  "types": "dist/unisights.d.ts",