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.11.0 to 0.12.0

22

index.js

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

user_id: userId,
send_page_view: false,
});

@@ -36,3 +37,3 @@ }

const getItems = (contents = [], currency) => {
const getItems = (contents = []) => {
return contents.map((content) => {

@@ -44,5 +45,2 @@ const data = {

};
if (currency) {
data['currency'] = currency.toUpperCase();
}
if (content.category) {

@@ -71,3 +69,3 @@ data['item_category'] = content.category;

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -82,3 +80,3 @@ };

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -93,3 +91,3 @@ };

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -104,3 +102,3 @@ };

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -115,3 +113,3 @@ };

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -127,3 +125,3 @@ };

value: data['value'],
items: getItems(data['contents'], data['currency']),
items: getItems(data['contents']),
},

@@ -165,3 +163,3 @@ };

}
window.gtag('event', event, eventData);
window.gtag('event', event, Object.assign(Object.assign({}, eventData), { app: 'blotout' }));
};

@@ -200,3 +198,3 @@

loaded: isLoaded,
sdkVersion: "0.11.0" ,
sdkVersion: "0.12.0" ,
};

@@ -203,0 +201,0 @@ };

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

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

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