@mrporter/frontend-monitoring
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "@mrporter/frontend-monitoring", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Utils and Events for MRP front end monitoring", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -15,3 +15,3 @@ # MRP Front End Monitoring | ||
writeKey: 'def456', | ||
properties: { | ||
globalProperties: { | ||
app_name: 'myaccount', | ||
@@ -23,3 +23,3 @@ business: 'mrporter' | ||
The properties object can contain any default properties you want to pass with every event. You can specify an app_name property and business here to easily differentiate when querying keen. If these aren't set, a warning will be logged to the console in dev mode. | ||
The globalProperties object can contain any default properties you want to pass with every event. You can specify an app_name property and business here to easily differentiate when querying keen. If these aren't set, a warning will be logged to the console in dev mode. | ||
@@ -26,0 +26,0 @@ If no projectId is passed in, `trackEvent` will log events to the console ('dev mode') rather than attempt to fire off events to keen. |
9626