Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blotoutio/providers-google-analytics-4-sdk

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blotoutio/providers-google-analytics-4-sdk - npm Package Compare versions

Comparing version 0.40.0 to 0.41.0

16

index.cjs.js

@@ -56,2 +56,3 @@ 'use strict';

!manifest.variables ||
!manifest.variables['measurementId'] ||
manifest.variables['flowType'] === 'server') {

@@ -259,13 +260,10 @@ return;

!window.gtag ||
(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['flowType']) === 'server') {
!(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['measurementId']) ||
manifestVariables['flowType'] === 'server') {
return;
}
const { event, eventData } = getEvent(eventName, data, eventId);
if (manifestVariables) {
if (manifestVariables['measurementId']) {
eventData['send_to'] = manifestVariables['measurementId'];
}
if (manifestVariables['debug'] === '1') {
eventData['debug_mode'] = true;
}
eventData['send_to'] = manifestVariables['measurementId'];
if (manifestVariables['debug'] === '1') {
eventData['debug_mode'] = true;
}

@@ -306,3 +304,3 @@ window.gtag('event', event, { ...eventData, app: 'blotout' });

loaded: isLoaded,
sdkVersion: "0.40.0" ,
sdkVersion: "0.41.0" ,
};

@@ -309,0 +307,0 @@ };

@@ -57,2 +57,3 @@ var ProvidersGoogleAnalytics4Sdk = (function () {

!manifest.variables ||
!manifest.variables['measurementId'] ||
manifest.variables['flowType'] === 'server') {

@@ -260,13 +261,10 @@ return;

!window.gtag ||
(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['flowType']) === 'server') {
!(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['measurementId']) ||
manifestVariables['flowType'] === 'server') {
return;
}
const { event, eventData } = getEvent(eventName, data, eventId);
if (manifestVariables) {
if (manifestVariables['measurementId']) {
eventData['send_to'] = manifestVariables['measurementId'];
}
if (manifestVariables['debug'] === '1') {
eventData['debug_mode'] = true;
}
eventData['send_to'] = manifestVariables['measurementId'];
if (manifestVariables['debug'] === '1') {
eventData['debug_mode'] = true;
}

@@ -307,3 +305,3 @@ window.gtag('event', event, { ...eventData, app: 'blotout' });

loaded: isLoaded,
sdkVersion: "0.40.0" ,
sdkVersion: "0.41.0" ,
};

@@ -310,0 +308,0 @@ };

{
"name": "@blotoutio/providers-google-analytics-4-sdk",
"version": "0.40.0",
"version": "0.41.0",
"description": "Google Analytics 4 Browser SDK for EdgeTag",

@@ -5,0 +5,0 @@ "author": "Blotout",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc