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

@esri/telemetry-google-analytics

Package Overview
Dependencies
Maintainers
41
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/telemetry-google-analytics - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

3

dist/esm/index.js

@@ -81,3 +81,4 @@ import { __rest } from "tslib";

'custom_map': this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics),
'send_page_view': false // disable automatic page viewing
'send_page_view': false,
'anonymize_ip': true // anonymize ip for each event/page view tracked
};

@@ -84,0 +85,0 @@ this.measurementIds.forEach(measurementId => {

@@ -55,3 +55,3 @@ import { GoogleAnalytics } from './';

expect(dateConfig).toEqual([['0', 'js'], ['1', new Date()]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: {}, send_page_view: false }]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: {}, send_page_view: false, anonymize_ip: true }]]);
});

@@ -69,3 +69,3 @@ it('should add in custom metrics and dimensions accordingly', async () => {

expect(dateConfig).toEqual([['0', 'js'], ['1', new Date()]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: { dimension1: 'details', metric3: 'duration' }, send_page_view: false }]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: { dimension1: 'details', metric3: 'duration' }, send_page_view: false, anonymize_ip: true }]]);
});

@@ -72,0 +72,0 @@ });

@@ -84,3 +84,4 @@ "use strict";

'custom_map': this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics),
'send_page_view': false // disable automatic page viewing
'send_page_view': false,
'anonymize_ip': true // anonymize ip for each event/page view tracked
};

@@ -87,0 +88,0 @@ this.measurementIds.forEach(measurementId => {

@@ -57,3 +57,3 @@ "use strict";

expect(dateConfig).toEqual([['0', 'js'], ['1', new Date()]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: {}, send_page_view: false }]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: {}, send_page_view: false, anonymize_ip: true }]]);
});

@@ -71,3 +71,3 @@ it('should add in custom metrics and dimensions accordingly', async () => {

expect(dateConfig).toEqual([['0', 'js'], ['1', new Date()]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: { dimension1: 'details', metric3: 'duration' }, send_page_view: false }]]);
expect(customConfig).toEqual([['0', 'config'], ['1', 'G-1234567890'], ['2', { custom_map: { dimension1: 'details', metric3: 'duration' }, send_page_view: false, anonymize_ip: true }]]);
});

@@ -74,0 +74,0 @@ });

@@ -1215,3 +1215,4 @@ (function (global, factory) {

'custom_map': this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics),
'send_page_view': false // disable automatic page viewing
'send_page_view': false,
'anonymize_ip': true // anonymize ip for each event/page view tracked
};

@@ -1218,0 +1219,0 @@ this.measurementIds.forEach(measurementId => {

@@ -1215,3 +1215,4 @@ (function (global, factory) {

'custom_map': this.createDimensionsAndMetricsCustomMap(this.dimensions, this.metrics),
'send_page_view': false // disable automatic page viewing
'send_page_view': false,
'anonymize_ip': true // anonymize ip for each event/page view tracked
};

@@ -1218,0 +1219,0 @@ this.measurementIds.forEach(measurementId => {

{
"name": "@esri/telemetry-google-analytics",
"version": "0.3.0",
"version": "0.4.0",
"description": "Google Analytics plugin for 'Telemetry.js' library",

@@ -48,3 +48,3 @@ "homepage": "https://devtopia.esri.com/WebGIS/arcgis-telemetry.js/packages/telemetry-google-analytics#readme",

},
"gitHead": "d3d214ef1337a38c7dc7c04ec9042e2676b2813f"
"gitHead": "5d2ca8da6274a8763b1d71932fdd851e4c0624e1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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