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

@mparticle/web-google-analytics-kit

Package Overview
Dependencies
Maintainers
10
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mparticle/web-google-analytics-kit - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

18

dist/GoogleAnalyticsEventForwarder.common.js

@@ -40,2 +40,4 @@ Object.defineProperty(exports, '__esModule', { value: true });

HITTYPE = 'Google.HitType';
CONTENTGROUPNUMBER = 'Google.CGNumber';
CONTENTGROUPVALUE = 'Google.CGValue';

@@ -122,2 +124,3 @@ var constructor = function() {

}
setContentGroup(flags);
}

@@ -458,3 +461,3 @@

function initForwarder(settings, service, testMode, tid) {
function initForwarder(settings, service, testMode, tid, userAttributes, userIdentities, appVersion, appName, customFlags, clientId) {
try {

@@ -518,2 +521,4 @@ forwarderSettings = settings;

setContentGroup(customFlags);
if (forwarderSettings.useDisplayFeatures == 'True') {

@@ -567,2 +572,13 @@ ga(createCmd('require'), 'displayfeatures');

function setContentGroup(customFlags) {
if (customFlags) {
var contentGroupNumber = customFlags[CONTENTGROUPNUMBER];
var contentGroupValue = customFlags[CONTENTGROUPVALUE];
if (contentGroupNumber && contentGroupValue) {
ga(createCmd('set'), 'contentGroup'.concat(contentGroupNumber), contentGroupValue);
}
}
}
function addTypeToMapping(map, type, mapVal) {

@@ -569,0 +585,0 @@ var formattedMapVal = formatDimensionOrMetric(mapVal.value);

2

package.json
{
"name": "@mparticle/web-google-analytics-kit",
"version": "2.1.0",
"version": "2.1.1",
"author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)",

@@ -5,0 +5,0 @@ "description": "mParticle integration sdk for Google Analytics",

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