@blotoutio/providers-google-analytics-4-sdk 0.62.0 → 0.62.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/index.cjs.js +3 -2
- package/index.js +3 -2
- package/index.mjs +3 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -319,7 +319,8 @@ const parseCookies = (cookie) => {
|
|
|
319
319
|
return Object.fromEntries(cookie
|
|
320
320
|
.split(/;\s+/)
|
|
321
321
|
.map((r) => r.split('=').map((str) => str.trim()))
|
|
322
|
-
.map(([cookieKey,
|
|
322
|
+
.map(([cookieKey, ...cookieValues]) => {
|
|
323
|
+
const cookieValue = cookieValues.join('=');
|
|
323
324
|
if (!cookieKey) {
|
|
324
325
|
return [];
|
|
325
326
|
}
|
|
@@ -353,7 +354,7 @@ const tag = ({ data, eventName, manifestVariables, eventId }) => {
|
|
|
353
354
|
}
|
|
354
355
|
return {
|
|
355
356
|
loaded: isLoaded,
|
|
356
|
-
sdkVersion: "0.62.
|
|
357
|
+
sdkVersion: "0.62.1" ,
|
|
357
358
|
};
|
|
358
359
|
};
|
|
359
360
|
|
package/index.js
CHANGED
|
@@ -320,7 +320,8 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
320
320
|
return Object.fromEntries(cookie
|
|
321
321
|
.split(/;\s+/)
|
|
322
322
|
.map((r) => r.split('=').map((str) => str.trim()))
|
|
323
|
-
.map(([cookieKey,
|
|
323
|
+
.map(([cookieKey, ...cookieValues]) => {
|
|
324
|
+
const cookieValue = cookieValues.join('=');
|
|
324
325
|
if (!cookieKey) {
|
|
325
326
|
return [];
|
|
326
327
|
}
|
|
@@ -354,7 +355,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
354
355
|
}
|
|
355
356
|
return {
|
|
356
357
|
loaded: isLoaded,
|
|
357
|
-
sdkVersion: "0.62.
|
|
358
|
+
sdkVersion: "0.62.1" ,
|
|
358
359
|
};
|
|
359
360
|
};
|
|
360
361
|
|
package/index.mjs
CHANGED
|
@@ -317,7 +317,8 @@ const parseCookies = (cookie) => {
|
|
|
317
317
|
return Object.fromEntries(cookie
|
|
318
318
|
.split(/;\s+/)
|
|
319
319
|
.map((r) => r.split('=').map((str) => str.trim()))
|
|
320
|
-
.map(([cookieKey,
|
|
320
|
+
.map(([cookieKey, ...cookieValues]) => {
|
|
321
|
+
const cookieValue = cookieValues.join('=');
|
|
321
322
|
if (!cookieKey) {
|
|
322
323
|
return [];
|
|
323
324
|
}
|
|
@@ -351,7 +352,7 @@ const tag = ({ data, eventName, manifestVariables, eventId }) => {
|
|
|
351
352
|
}
|
|
352
353
|
return {
|
|
353
354
|
loaded: isLoaded,
|
|
354
|
-
sdkVersion: "0.62.
|
|
355
|
+
sdkVersion: "0.62.1" ,
|
|
355
356
|
};
|
|
356
357
|
};
|
|
357
358
|
|