Skip to content

Commit cac442b

Browse files
committed
Enable vero identify
1 parent e849d98 commit cac442b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/common/src/utils/analytics/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export async function setUserId(userId: string) {
6464
amplitude.setUserId(hashedId);
6565
sentry.setUserId(hashedId);
6666
chameleon.setUserId(hashedId);
67+
vero.setUserId(hashedId);
6768
}
6869
}
6970

packages/common/src/utils/analytics/vero.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function loadScript() {
2727

2828
let _hasSetAnonymousUserId = false;
2929

30-
export const setAnonymousUserId = userId => {
30+
export const setAnonymousUserId = (userId: string) => {
3131
if (!_script) {
3232
_script = loadScript();
3333
}
@@ -44,7 +44,7 @@ export const setAnonymousUserId = userId => {
4444
});
4545
};
4646

47-
export const setUserId = userId => {
47+
export const setUserId = (userId: string) => {
4848
if (!_script) {
4949
_script = loadScript();
5050
}

0 commit comments

Comments
 (0)