react-marketing-tools 0.4.0 → 0.4.2
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
|
@@ -140,7 +140,7 @@ React Marketing Tools are a set of tools to make it easier for you to implement
|
|
|
140
140
|
eventNameInfo,
|
|
141
141
|
analyticsType: analyticsPlatform.DATALAYER_PUSH,
|
|
142
142
|
dataLayerCheck: true,
|
|
143
|
-
|
|
143
|
+
userDataKeysToHashArray: null,
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
await trackAnalyticsEvent(trackingData)
|
|
@@ -175,7 +175,7 @@ React Marketing Tools are a set of tools to make it easier for you to implement
|
|
|
175
175
|
showJourneyPropsPayload: true,
|
|
176
176
|
},
|
|
177
177
|
dataLayerCheck: false,
|
|
178
|
-
|
|
178
|
+
userDataKeysToHashArray: null,
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
await trackAnalyticsEvent(trackingData)
|
|
@@ -203,7 +203,7 @@ React Marketing Tools are a set of tools to make it easier for you to implement
|
|
|
203
203
|
},
|
|
204
204
|
eventNameInfo,
|
|
205
205
|
analyticsType: analyticsPlatform.GOOGLE,
|
|
206
|
-
|
|
206
|
+
userDataKeysToHashArray: ['email', 'firstName', 'lastName'],
|
|
207
207
|
consoleLogData: {
|
|
208
208
|
showJourneyPropsPayload: true,
|
|
209
209
|
},
|
|
@@ -47013,9 +47013,7 @@ const I = (e, d = "") => {
|
|
|
47013
47013
|
INTERACTION: "I"
|
|
47014
47014
|
}, be = {
|
|
47015
47015
|
UNAUTHENTICATED: "UNAUTHENTICATED",
|
|
47016
|
-
AUTHENTICATED: "AUTHENTICATED"
|
|
47017
|
-
MENU_ACTIVE: "MENU_ACTIVE",
|
|
47018
|
-
MENU_INACTIVE: "MENU_INACTIVE"
|
|
47016
|
+
AUTHENTICATED: "AUTHENTICATED"
|
|
47019
47017
|
}, f = {
|
|
47020
47018
|
GOOGLE: "GOOGLE",
|
|
47021
47019
|
FACEBOOK: "FACEBOOK",
|
|
@@ -47242,7 +47240,7 @@ const NG = (e) => {
|
|
|
47242
47240
|
data: d,
|
|
47243
47241
|
eventNameInfo: r,
|
|
47244
47242
|
analyticsType: l,
|
|
47245
|
-
|
|
47243
|
+
userDataKeysToHashArray: a = null,
|
|
47246
47244
|
dataLayerCheck: i = !1,
|
|
47247
47245
|
consoleLogData: g = null
|
|
47248
47246
|
} = e, { includeUserKeys: x, showMissingUserAttributesInConsole: c } = B;
|
|
@@ -47940,8 +47938,16 @@ const Wo = LG.jsx, or = Zo({}), rr = Zo({}), hG = or.Provider, bG = rr.Provider,
|
|
|
47940
47938
|
analyticsPlatform: f,
|
|
47941
47939
|
appName: B.appName,
|
|
47942
47940
|
appSessionCookieName: B.appSessionCookieName,
|
|
47943
|
-
eventActionPrefixList:
|
|
47944
|
-
|
|
47941
|
+
eventActionPrefixList: {
|
|
47942
|
+
JOURNEY: "J",
|
|
47943
|
+
INTERACTION: "I",
|
|
47944
|
+
...B.eventActionPrefixList
|
|
47945
|
+
},
|
|
47946
|
+
analyticsGlobalEventActionList: {
|
|
47947
|
+
UNAUTHENTICATED: "UNAUTHENTICATED",
|
|
47948
|
+
AUTHENTICATED: "AUTHENTICATED",
|
|
47949
|
+
...B.analyticsGlobalEventActionList
|
|
47950
|
+
}
|
|
47945
47951
|
}), [B, f]);
|
|
47946
47952
|
return /* @__PURE__ */ Wo(hG, {
|
|
47947
47953
|
value: r,
|