CASH-183 | Update experiment logging for debugging in dev-qa
These changes must be removed before any release
This commit is contained in:
parent
ae178c811a
commit
d5eee99b01
2 changed files with 8 additions and 4 deletions
|
|
@ -80,7 +80,11 @@ import vehicleQuestion from "@/layouts/vehicle/vehicle-question/vehicle-question
|
||||||
// Supporting files
|
// Supporting files
|
||||||
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
||||||
import { experimentUniverses } from "@/constants/experiments";
|
import { experimentUniverses } from "@/constants/experiments";
|
||||||
import { getSessionKeyValue, getUserIdValue, getDeviceIdValue } from "@/helpers/heritage-integration/cookie-helper";
|
import {
|
||||||
|
getSessionKeyValue,
|
||||||
|
getUserIdValue,
|
||||||
|
getDeviceIdValue,
|
||||||
|
} from "@/helpers/heritage-integration/cookie-helper";
|
||||||
import { settleAllPromises } from "@/helpers/layout-helper";
|
import { settleAllPromises } from "@/helpers/layout-helper";
|
||||||
import { Form, defineRule } from "vee-validate";
|
import { Form, defineRule } from "vee-validate";
|
||||||
import { required } from "@/helpers/validation-rules";
|
import { required } from "@/helpers/validation-rules";
|
||||||
|
|
@ -188,10 +192,10 @@ export default {
|
||||||
userId: getUserIdValue(),
|
userId: getUserIdValue(),
|
||||||
deviceId: getDeviceIdValue(),
|
deviceId: getDeviceIdValue(),
|
||||||
sessionKey: getSessionKeyValue(),
|
sessionKey: getSessionKeyValue(),
|
||||||
pageName: to.query.fmgPage,
|
pageName: "vehicle-logExposure", //to.query.fmgPage,
|
||||||
experiment: experimentForLogging,
|
experiment: experimentForLogging,
|
||||||
},
|
},
|
||||||
"vehicle",
|
"vehicle-logExposure",
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -810,7 +810,7 @@ async function runExperiments(nextPage) {
|
||||||
{
|
{
|
||||||
deviceId: getDeviceIdValue(),
|
deviceId: getDeviceIdValue(),
|
||||||
triggerEvent: experimentTriggers.PAGE_ENTRY,
|
triggerEvent: experimentTriggers.PAGE_ENTRY,
|
||||||
triggerValue: nextPage,
|
triggerValue: nextPage == "vehicle" ? "vehicle-pageEntry" : nextPage,
|
||||||
},
|
},
|
||||||
nextPage
|
nextPage
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue