CSR-1072
CSR-1072 do not run analytics calls without page name
This commit is contained in:
parent
4a03629754
commit
1b1702ed5f
2 changed files with 9 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ const routes = [
|
||||||
// the saveSessionPromise will no longer point to a valid promise
|
// the saveSessionPromise will no longer point to a valid promise
|
||||||
baseMixin.methods.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
|
baseMixin.methods.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
|
||||||
|
|
||||||
if (!to.query.fmgPage.startsWith("payment")) {
|
if (!to.query.fmgPage?.startsWith("payment")) {
|
||||||
//payment pages used to return from safelitehop so exclude here
|
//payment pages used to return from safelitehop so exclude here
|
||||||
// Remove the parameter after quote release
|
// Remove the parameter after quote release
|
||||||
const loadSessionResponse = await loadSessionIfPresent(
|
const loadSessionResponse = await loadSessionIfPresent(
|
||||||
|
|
|
||||||
|
|
@ -1101,6 +1101,10 @@ export const actions = {
|
||||||
parentAccountNumber,
|
parentAccountNumber,
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
|
if (!pageName) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var payload = {
|
var payload = {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
sessionKey: sessionKey,
|
sessionKey: sessionKey,
|
||||||
|
|
@ -1149,6 +1153,10 @@ export const actions = {
|
||||||
parentAccountNumber,
|
parentAccountNumber,
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
|
if (!pageName) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var payload = {
|
var payload = {
|
||||||
userId: userId,
|
userId: userId,
|
||||||
sessionKey: sessionKey,
|
sessionKey: sessionKey,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue