manifold/web/lib/service/analytics.ts
mantikoros 0ecff1b581
Heap analytics (#500)
* add heap

* remove hotjar

* prettier formatting conflicting with es lint

* stop weird prettier/eslint conflict
2022-06-14 11:54:58 -05:00

5 lines
152 B
TypeScript

export function identifyUser(userId: string) {
const w = window as any // needed to stop weird prettier/eslint conflict
w?.heap?.identify(userId)
}