CASH-2433: Update event label
This commit is contained in:
parent
22a806c8c0
commit
58dcd30760
2 changed files with 3 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ const GaLabels = {
|
|||
ADDRESS_LOOKUP: "Address_Look_up",
|
||||
YES: "yes",
|
||||
NO: "no",
|
||||
GLASS_CASH_QUOTE: "GlassCashQuote",
|
||||
};
|
||||
|
||||
const ValueToLogTypes = {
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ import {
|
|||
} from "@/helpers/page-prerequisites-helper.js";
|
||||
import { savePageData } from "@/router/methods/helpers/save-page-data";
|
||||
import { quotePageDiscountTable } from "../../constants/quote-page-discounts";
|
||||
import { GaLabels } from "@/constants/analytics";
|
||||
|
||||
defineRule("option-required", required(errorMessages.OPTION_REQUIRED));
|
||||
|
||||
|
|
@ -964,8 +965,7 @@ export default {
|
|||
priceLabel = price.toFixed(2);
|
||||
}
|
||||
}
|
||||
const subTotalLabel = this.Variables?.CASH_SUBTOTAL;
|
||||
this.pushVariableToDataLayer?.({ [subTotalLabel]: priceLabel });
|
||||
this.pushVariableToDataLayer?.({ [this.GaLabels.GLASS_CASH_QUOTE]: priceLabel });
|
||||
});
|
||||
},
|
||||
async skip(insuranceSelection, packageSelection) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue