@blotoutio/providers-google-analytics-4-sdk 0.21.0 → 0.22.0
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 +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -227,7 +227,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
227
227
|
eventData['debug_mode'] = true;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
window.gtag('event', event,
|
|
230
|
+
window.gtag('event', event, { ...eventData, app: 'blotout' });
|
|
231
231
|
};
|
|
232
232
|
|
|
233
233
|
const getCookieValue = (key) => {
|
|
@@ -249,7 +249,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
249
249
|
}
|
|
250
250
|
return '';
|
|
251
251
|
}
|
|
252
|
-
catch
|
|
252
|
+
catch {
|
|
253
253
|
return '';
|
|
254
254
|
}
|
|
255
255
|
};
|
|
@@ -261,7 +261,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
261
261
|
}
|
|
262
262
|
return {
|
|
263
263
|
loaded: isLoaded,
|
|
264
|
-
sdkVersion: "0.
|
|
264
|
+
sdkVersion: "0.22.0" ,
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
|
|
@@ -278,7 +278,7 @@ var ProvidersGoogleAnalytics4Sdk = (function () {
|
|
|
278
278
|
window.edgetagProviders.push(data);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
catch
|
|
281
|
+
catch {
|
|
282
282
|
// No window
|
|
283
283
|
}
|
|
284
284
|
|