diff --git a/src/lib/providers/appinsights/appinsights.ts b/src/lib/providers/appinsights/appinsights.ts index aca846b..7799fd2 100644 --- a/src/lib/providers/appinsights/appinsights.ts +++ b/src/lib/providers/appinsights/appinsights.ts @@ -110,7 +110,7 @@ export class Angulartics2AppInsights { * @link https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackevent */ eventTrack(name: string, properties: { [name: string]: string }) { - appInsights.trackEvent(name, properties, this.measurements); + appInsights.trackEvent({name : name, properties : properties, measurements: this.measurements}); } /**