diff --git a/src/plugins/mixpanel.ts b/src/plugins/mixpanel.ts index b5a9fd72e..e0fbd97c2 100644 --- a/src/plugins/mixpanel.ts +++ b/src/plugins/mixpanel.ts @@ -85,7 +85,10 @@ export class Mixpanel { * @param eventProperties {any} optional * @returns {Promise} */ - @Cordova() + @Cordova({ + successIndex: 2, + errorIndex: 3 + }) static track(eventName: string, eventProperties?: any): Promise { return; } /**