commit
3203e78876
4 changed files with 11 additions and 6 deletions
|
|
@ -163,6 +163,7 @@ export default {
|
|||
|
||||
.callout {
|
||||
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
> div:first-of-type {
|
||||
|
|
@ -196,7 +197,7 @@ export default {
|
|||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-left: 1rem;
|
||||
max-width: 32rem;
|
||||
max-width: 36rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -958,6 +958,8 @@ function getPageNameFromRouter() {
|
|||
) {
|
||||
return router.currentRoute.value.name;
|
||||
}
|
||||
|
||||
return window.location.href.replace(/\/$/, "").split("/").pop();
|
||||
}
|
||||
|
||||
function getValueToLog(value, valueToLogType) {
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ import { updateOrCreateFunnelCookie } from "@/helpers/heritage-integration/cooki
|
|||
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
||||
|
||||
export async function consumeReferralQuerystrings() {
|
||||
var referralNumber = getQuerystringParameter(queryStrings.REFERRAL_NUMBER);
|
||||
var parentAccount = getQuerystringParameter(queryStrings.PARENT_ACCOUNT);
|
||||
var correlationId = getQuerystringParameter(queryStrings.CORRELATION_ID);
|
||||
var referralDate = null;
|
||||
let referralNumber = getQuerystringParameter(queryStrings.REFERRAL_NUMBER);
|
||||
let parentAccount = getQuerystringParameter(queryStrings.PARENT_ACCOUNT);
|
||||
let correlationId = getQuerystringParameter(queryStrings.CORRELATION_ID);
|
||||
let referralDate = null;
|
||||
|
||||
// If no referral number in querystring, check if heritage funnel updated last.
|
||||
// This would indicate a customer that went to heritage but did not return through the
|
||||
|
|
@ -30,7 +30,6 @@ export async function consumeReferralQuerystrings() {
|
|||
if (referralDate) {
|
||||
store.commit(storeMutations.UPDATE_REFERRAL_DATE, referralDate);
|
||||
}
|
||||
// log(" --update cookie");
|
||||
updateOrCreateFunnelCookie();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import router from "@/router";
|
|||
import { routeData, FUNNEL_START_PAGE } from "@/router/constants/routes";
|
||||
import store from "@/store";
|
||||
import { handleHardError } from "@/router/methods/error";
|
||||
import analyticsMixin from "@/mixins/analytics-mixin";
|
||||
|
||||
export async function errorBeforeEnter(to, from) {
|
||||
// Check if `hasAlreadyTriggeredErrror` is available.
|
||||
|
|
@ -18,6 +19,7 @@ export async function errorBeforeEnter(to, from) {
|
|||
nextPage: to?.name,
|
||||
};
|
||||
|
||||
analyticsMixin.methods.logDigitalConsumer();
|
||||
await handleHardError(errorPayload);
|
||||
return;
|
||||
}
|
||||
|
|
@ -31,6 +33,7 @@ export async function errorBeforeEnter(to, from) {
|
|||
nextPage: to?.name,
|
||||
};
|
||||
|
||||
analyticsMixin.methods.logDigitalConsumer();
|
||||
await handleHardError(errorPayload);
|
||||
return;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue