|
|
@ -13,12 +13,12 @@ function captureException(err) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function captureEvent(event) { |
|
|
function captureEvent(event) { |
|
|
if (process.env.NODE_ENV !== "production") return; |
|
|
if (process.env.NODE_ENV !== "production") return |
|
|
posthog.capture(event) |
|
|
posthog.capture(event) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
activate, |
|
|
activate, |
|
|
captureException, |
|
|
captureException, |
|
|
captureEvent |
|
|
captureEvent, |
|
|
} |
|
|
} |
|
|
|