Merge pull request #2271 from Safelite/feature/CASH-183

CASH-183 | Update experiment logging for debugging in dev-qa
This commit is contained in:
scottkiener 2025-02-03 14:30:55 -05:00 committed by GitHub
commit 2bf674dda7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View file

@ -80,7 +80,11 @@ import vehicleQuestion from "@/layouts/vehicle/vehicle-question/vehicle-question
// Supporting files
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
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 { Form, defineRule } from "vee-validate";
import { required } from "@/helpers/validation-rules";
@ -188,10 +192,10 @@ export default {
userId: getUserIdValue(),
deviceId: getDeviceIdValue(),
sessionKey: getSessionKeyValue(),
pageName: to.query.fmgPage,
pageName: "vehicle-logExposure", //to.query.fmgPage,
experiment: experimentForLogging,
},
"vehicle",
"vehicle-logExposure",
false
);
}

View file

@ -810,7 +810,7 @@ async function runExperiments(nextPage) {
{
deviceId: getDeviceIdValue(),
triggerEvent: experimentTriggers.PAGE_ENTRY,
triggerValue: nextPage,
triggerValue: nextPage == "vehicle" ? "vehicle-pageEntry" : nextPage,
},
nextPage
);