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.11 to 2.1.12

3

CHANGELOG.md
## Releases
#### 2.1.12 - 2021-08-12
- Fix - Add Location and Hostname to support all GA content information
#### 2.1.11 - 2021-05-13

@@ -4,0 +7,0 @@ - Send product impression list name

22

dist/GoogleAnalyticsEventForwarder.common.js

@@ -20,3 +20,3 @@ Object.defineProperty(exports, '__esModule', { value: true });

moduleId = 6,
version = '2.1.11',
version = '2.1.12',
MessageType = {

@@ -52,2 +52,4 @@ SessionStart: 1,

PAGE = 'Google.Page',
LOCATION = 'Google.Location',
HOSTNAME = 'Google.Hostname',
VALUE = 'Google.Value',

@@ -452,8 +454,16 @@ USERTIMING = 'Google.UserTiming',

else {
if (event.CustomFlags && event.CustomFlags[PAGE]) {
ga(createCmd('set'), 'page', event.CustomFlags[PAGE]);
if (event.CustomFlags) {
if (event.CustomFlags[PAGE]) {
ga(createCmd('set'), 'page', event.CustomFlags[PAGE]);
}
if (event.CustomFlags[HOSTNAME]) {
ga(createCmd('set'), 'hostname', event.CustomFlags[HOSTNAME]);
}
if (event.CustomFlags[LOCATION]) {
ga(createCmd('set'), 'location', event.CustomFlags[LOCATION]);
}
if (event.CustomFlags[TITLE]){
ga(createCmd('set'), 'title', event.CustomFlags[TITLE]);
}
}
if (event.CustomFlags && event.CustomFlags[TITLE]){
ga(createCmd('set'), 'title', event.CustomFlags[TITLE]);
}
ga(createCmd('send'), customFlags && customFlags[HITTYPE] ? customFlags[HITTYPE] : 'pageview', gaOptionalParameters);

@@ -460,0 +470,0 @@ sendOptionalUserTimingMessage(event, gaOptionalParameters);

{
"name": "@mparticle/web-google-analytics-kit",
"version": "2.1.11",
"version": "2.1.12",
"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