fix: [VAN-1367] Remove Optimizely web from Authn (#843)
This commit is contained in:
@@ -232,13 +232,6 @@ class LoginPage extends React.Component {
|
||||
}
|
||||
if (this.props.loginResult.success) {
|
||||
setSurveyCookie('login');
|
||||
|
||||
// Fire optimizely events
|
||||
window.optimizely = window.optimizely || [];
|
||||
window.optimizely.push({
|
||||
type: 'event',
|
||||
eventName: 'authn-login-coversion',
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -227,13 +227,6 @@ const RegistrationPage = (props) => {
|
||||
setCookie(getConfig().REGISTER_CONVERSION_COOKIE_NAME, true);
|
||||
setCookie('authn-returning-user');
|
||||
|
||||
// Fire optimizely events
|
||||
window.optimizely = window.optimizely || [];
|
||||
window.optimizely.push({
|
||||
type: 'event',
|
||||
eventName: 'authn-register-conversion',
|
||||
});
|
||||
|
||||
// Fire GTM event used for integration with impact.com
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
window.dataLayer.push({
|
||||
|
||||
Reference in New Issue
Block a user