@aranova/tracking-browser 0.22.4 → 0.23.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
CHANGED
|
@@ -12,9 +12,11 @@ Place the script in the document `<head>` before the rest of the page can run.
|
|
|
12
12
|
<script src="https://cdn.jsdelivr.net/npm/@aranova/tracking-browser@0/dist/browser/aranova-tracking.global.js"></script>
|
|
13
13
|
<script>
|
|
14
14
|
const ARANOVA_TRACKING_CONFIG = {
|
|
15
|
-
cdnUrl: "https://demos.aranova.io/tracking-config/v1/<business_id>-production.json",
|
|
16
15
|
businessId: "<business_id>",
|
|
17
16
|
environment: "production",
|
|
17
|
+
// Optional. Omit for the production CDN; set it to point at another origin
|
|
18
|
+
// (e.g. a local object store). There is no bundler here to inline an env var.
|
|
19
|
+
// cdnBaseUrl: "http://localhost:9100/aranova-demos",
|
|
18
20
|
};
|
|
19
21
|
|
|
20
22
|
window.AranovaTracking.init({
|
|
@@ -232,9 +234,11 @@ dashboard tag changes, goal remaps, and higher-version disabled tombstones propa
|
|
|
232
234
|
```html
|
|
233
235
|
<script>
|
|
234
236
|
const ARANOVA_TRACKING_CONFIG = {
|
|
235
|
-
cdnUrl: "https://demos.aranova.io/tracking-config/v1/<business_id>-production.json",
|
|
236
237
|
businessId: "<business_id>",
|
|
237
238
|
environment: "production",
|
|
239
|
+
// Optional. Omit for the production CDN; set it to point at another origin
|
|
240
|
+
// (e.g. a local object store). There is no bundler here to inline an env var.
|
|
241
|
+
// cdnBaseUrl: "http://localhost:9100/aranova-demos",
|
|
238
242
|
};
|
|
239
243
|
|
|
240
244
|
window.AranovaTracking.init({
|