@dotcms/analytics 0.0.1-beta.29 → 0.0.1-beta.30
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventType as n, ANALYTICS_SOURCE_TYPE as r, ANALYTICS_PAGEVIEW_EVENT as o } from "../shared/dot-content-analytics.constants.js";
|
|
2
2
|
import { getBrowserEventData as i } from "../shared/dot-content-analytics.utils.js";
|
|
3
3
|
const p = {
|
|
4
4
|
name: "enrich-dot-analytics",
|
|
@@ -6,7 +6,7 @@ const p = {
|
|
|
6
6
|
const t = {
|
|
7
7
|
...i(window.location),
|
|
8
8
|
...e.properties,
|
|
9
|
-
event_type:
|
|
9
|
+
event_type: o,
|
|
10
10
|
anonymousId: e.anonymousId || void 0,
|
|
11
11
|
src: r
|
|
12
12
|
};
|
|
@@ -16,7 +16,7 @@ const p = {
|
|
|
16
16
|
const t = {
|
|
17
17
|
...e.properties,
|
|
18
18
|
custom_event: e.event,
|
|
19
|
-
event_type:
|
|
19
|
+
event_type: n.Track,
|
|
20
20
|
anonymousId: e.anonymousId || void 0,
|
|
21
21
|
src: r
|
|
22
22
|
};
|