Revert "Load session before updating funnel cookie"
This reverts commit 73ec3ce9ee.
This commit is contained in:
parent
066de75a8e
commit
d8c838f530
1 changed files with 6 additions and 6 deletions
|
|
@ -52,12 +52,6 @@ export async function beforeEach(to, from) {
|
|||
}
|
||||
}
|
||||
|
||||
// If sent from heritage, need to load session.
|
||||
const fromHeritageFlag = consumeQueryFromStash(queryStrings.FROM_HERITAGE);
|
||||
if (fromHeritageFlag) {
|
||||
await loadSessionIfPresent(true, routeData.SERVICE_LOCATION.name);
|
||||
}
|
||||
|
||||
// Process funnel cookie.
|
||||
updateOrCreateFunnelCookie();
|
||||
|
||||
|
|
@ -67,6 +61,12 @@ export async function beforeEach(to, from) {
|
|||
debugLog(" funnel cookie after: ", getFunnelCookie());
|
||||
}
|
||||
|
||||
// If sent from heritage, need to load session.
|
||||
const fromHeritageFlag = consumeQueryFromStash(queryStrings.FROM_HERITAGE);
|
||||
if (fromHeritageFlag) {
|
||||
await loadSessionIfPresent(true, routeData.SERVICE_LOCATION.name);
|
||||
}
|
||||
|
||||
// Update if logging is enabled.
|
||||
checkLogParam();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue