CASH-341 added unchecked event to be logged to dataLayer for waitlist
This commit is contained in:
Johnny shultz 2025-06-18 09:39:43 -04:00
parent 60b3b83a35
commit d331e932ce

View file

@ -542,10 +542,11 @@ export default {
forwardButtonAction() {
this.updateSupportingItems();
if (this.waitListRequested) {
var gaLabel = store.getters.isMobileAppointment
? "checked_mobile"
: "checked_inshop";
if (this.displayWaitList) {
var gaLabel = "";
const status = this.waitListRequested ? "checked" : "unchecked";
const type = store.getters.isMobileAppointment ? "mobile" : "inshop";
gaLabel = `${status}_${type}`;
const currentDate = new Date();
const dateString = this.selectableDatesData.days[0].date;