CSR-514 Move runExperiments to after we check the page to reroute to
This commit is contained in:
parent
febbe96534
commit
1216b121a8
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,6 @@ const routes = [
|
|||
return next(false);
|
||||
}
|
||||
|
||||
runExperiments(to.query.fmgPage);
|
||||
|
||||
// If the saved session has timed out, clear the session, execute 404 logic.
|
||||
if (getFunnelCookie() !== null && !isSavedSessionStillActive()) {
|
||||
await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
|
||||
|
|
@ -64,6 +62,8 @@ const routes = [
|
|||
to.query.fmgPage = pageToRedirectTo;
|
||||
}
|
||||
|
||||
runExperiments(to.query.fmgPage);
|
||||
|
||||
// Process funnel cookie.
|
||||
updateOrCreateFunnelCookie();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue