diff --git a/public/index.html b/public/index.html index 6e8dd17e..b5eed270 100644 --- a/public/index.html +++ b/public/index.html @@ -4,15 +4,6 @@ Authn | <%= process.env.SITE_NAME %> - <% if (process.env.OPTIMIZELY_URL) { %> - - <% } else if (process.env.OPTIMIZELY_PROJECT_ID) { %> - - <% } %>
diff --git a/src/login/LoginPage.jsx b/src/login/LoginPage.jsx index b522f217..e1d37305 100644 --- a/src/login/LoginPage.jsx +++ b/src/login/LoginPage.jsx @@ -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 ( diff --git a/src/register/RegistrationPage.jsx b/src/register/RegistrationPage.jsx index 878b6419..4f93bad2 100644 --- a/src/register/RegistrationPage.jsx +++ b/src/register/RegistrationPage.jsx @@ -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({