@blotoutio/edgetag-sdk-browser 1.58.0 → 1.58.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.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -567,7 +567,10 @@
|
|
|
567
567
|
* visitors on normal consent unless the merchant explicitly opts those regions
|
|
568
568
|
* in. Returns whether a server-side event should fire for a non-consented user.
|
|
569
569
|
*/
|
|
570
|
-
const greySwitchAllowsServerEvent = ({ greySwitch, greySwitchEuUk, country, isEURequest, }) => {
|
|
570
|
+
const greySwitchAllowsServerEvent = ({ greySwitch, greySwitchEuUk, country, isEURequest, isGPC, }) => {
|
|
571
|
+
if (isGPC) {
|
|
572
|
+
return false;
|
|
573
|
+
}
|
|
571
574
|
if (!greySwitch) {
|
|
572
575
|
return false;
|
|
573
576
|
}
|
|
@@ -1539,7 +1542,7 @@
|
|
|
1539
1542
|
referrer: getReferrer(destination),
|
|
1540
1543
|
search: getSearch(destination),
|
|
1541
1544
|
locale: getLocale(),
|
|
1542
|
-
sdkVersion: "1.58.
|
|
1545
|
+
sdkVersion: "1.58.1" ,
|
|
1543
1546
|
...(payload || {}),
|
|
1544
1547
|
};
|
|
1545
1548
|
let storage = {};
|