@mparticle/web-google-analytics-kit
Advanced tools
Comparing version 2.1.12 to 2.1.13
@@ -20,3 +20,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
moduleId = 6, | ||
version = '2.1.12', | ||
version = '2.1.13', | ||
MessageType = { | ||
@@ -57,2 +57,3 @@ SessionStart: 1, | ||
HITTYPE = 'Google.HitType', | ||
ACTION = 'Google.Action', | ||
CONTENTGROUPNUMBER = 'Google.CGNumber', | ||
@@ -476,3 +477,4 @@ CONTENTGROUPVALUE = 'Google.CGValue', | ||
category = getEventTypeName(event.EventCategory), | ||
value; | ||
value, | ||
action; | ||
@@ -501,3 +503,4 @@ if (event.EventAttributes) { | ||
googleLabel = event.CustomFlags[LABEL], | ||
googleValue = parseInt(event.CustomFlags[VALUE], 10); | ||
googleValue = parseInt(event.CustomFlags[VALUE], 10), | ||
googleAction = event.CustomFlags[ACTION]; | ||
@@ -516,2 +519,6 @@ if (googleCategory) { | ||
} | ||
if (googleAction && typeof googleAction === 'string') { | ||
action = googleAction; | ||
} | ||
} | ||
@@ -522,3 +529,3 @@ | ||
category, | ||
event.EventName, | ||
action || event.EventName, | ||
label, | ||
@@ -531,3 +538,3 @@ value]); | ||
category, | ||
event.EventName, | ||
action || event.EventName, | ||
label, | ||
@@ -534,0 +541,0 @@ value, |
{ | ||
"name": "@mparticle/web-google-analytics-kit", | ||
"version": "2.1.12", | ||
"version": "2.1.13", | ||
"author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)", | ||
@@ -5,0 +5,0 @@ "description": "mParticle integration sdk for Google Analytics", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
674
36144
3