change Sentry DSN & Sentry client packet
This commit is contained in:
parent
b07abf7ed9
commit
0de9b0add6
@ -42,16 +42,20 @@ export default class AccountLayout extends React.Component
|
|||||||
|
|
||||||
if(window.ym !== undefined)
|
if(window.ym !== undefined)
|
||||||
{
|
{
|
||||||
console.log({ ym: window.ym, id: process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID });
|
// console.log({ ym: window.ym, id: process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID });
|
||||||
window.ym(process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID, 'userParams', payload);
|
window.ym(process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID, 'userParams', payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log({ payload });
|
// console.log({ payload });
|
||||||
|
// console.log({ company, user, auth, });
|
||||||
|
|
||||||
Sentry.configureScope(function (scope) {
|
Sentry.configureScope(function (scope) {
|
||||||
|
scope.setTag("account", `${ payload.companyID }`);
|
||||||
scope.setTag("offstage", `${ auth.observer }`);
|
scope.setTag("offstage", `${ auth.observer }`);
|
||||||
scope.setUser({ email: payload.userID, username: payload.companyID, });
|
scope.setUser({ email: user.email, phone: user.phone });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Sentry.captureMessage(`Sentry client test for ACC`);
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user