@esri/telemetry-google-analytics
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -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
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
359409
3289