aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/analytics.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-13 09:20:46 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-13 09:20:46 +0800
commit65af78c85d7872891c0bffeac76687a72a61dd59 (patch)
tree2b353d48117ec3ff353d7605e3242d99ffbde6c2 /packages/website/ts/utils/analytics.ts
parent1df074b73e05adf669b0cedc4bb1473e9e5631db (diff)
downloaddexon-0x-contracts-65af78c85d7872891c0bffeac76687a72a61dd59.tar.gz
dexon-0x-contracts-65af78c85d7872891c0bffeac76687a72a61dd59.tar.zst
dexon-0x-contracts-65af78c85d7872891c0bffeac76687a72a61dd59.zip
Fix indentify typo
Diffstat (limited to 'packages/website/ts/utils/analytics.ts')
-rw-r--r--packages/website/ts/utils/analytics.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/utils/analytics.ts b/packages/website/ts/utils/analytics.ts
index e39998d7a..e5a1ddfa4 100644
--- a/packages/website/ts/utils/analytics.ts
+++ b/packages/website/ts/utils/analytics.ts
@@ -4,7 +4,7 @@ import { utils } from 'ts/utils/utils';
export interface HeapAnalytics {
loaded: boolean;
- indentify(id: string, idType: string): void;
+ identify(id: string, idType: string): void;
track(eventName: string, eventProperties?: ObjectMap<string | number>): void;
resetIdentity(): void;
addUserProperties(properties: ObjectMap<string | number>): void;
@@ -30,8 +30,8 @@ export class Analytics {
}
// tslint:disable:no-floating-promises
// HeapAnalytics Wrappers
- public indentify(id: string, idType: string): void {
- this._heapLoadedGuardAsync(() => this._heap.indentify(id, idType));
+ public identify(id: string, idType: string): void {
+ this._heapLoadedGuardAsync(() => this._heap.identify(id, idType));
}
public track(eventName: string, eventProperties?: ObjectMap<string | number>): void {
this._heapLoadedGuardAsync(() => this._heap.track(eventName, eventProperties));