From 19642d48c12b055281855d615e21fe7b2aef874d Mon Sep 17 00:00:00 2001 From: CarlNation Date: Mon, 20 Jan 2025 11:45:23 -0500 Subject: [PATCH] CASH-109 exclude timeout check for SQ return CASH-109 exclude timeout check for savequote return from heritage --- src/mixins/analytics-mixin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mixins/analytics-mixin.js b/src/mixins/analytics-mixin.js index 114cacbfb..6f7f67c6f 100644 --- a/src/mixins/analytics-mixin.js +++ b/src/mixins/analytics-mixin.js @@ -29,6 +29,7 @@ import { applicationConfig } from "../constants/application-config"; import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper"; import { fmgPageValues } from "@/router/router-constants/fmgPage-values"; import router from "@/router/index.js"; +import { getQuerystringParameter } from "@/helpers/querystring-helper"; export default { methods: { @@ -716,9 +717,11 @@ export default { // The sid cookie for analytics will expire every 30 minutes and get recreated in initSession. If this happens // and we also have the funnel cookie present, that indicates they have an existing session that is now expired // so route them to the return user page. + const fromHeritage = getQuerystringParameter(queryStrings.FROM_HERITAGE) === "true"; const funnelCookieLastTouched = getFunnelCookie()?.LastTouched; if ( this.noSession() && + !fromHeritage && funnelCookieLastTouched !== null && funnelCookieLastTouched !== undefined ) {