manifold/web/lib/service/analytics.ts

5 lines
152 B
TypeScript
Raw Normal View History

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