From 58dcd307603b55a63d9357c7bdb8484e632a1227 Mon Sep 17 00:00:00 2001 From: credelinghuys Date: Tue, 24 Mar 2026 11:34:56 -0400 Subject: [PATCH] CASH-2433: Update event label --- src/constants/analytics.js | 1 + src/layouts/quote/quote.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/constants/analytics.js b/src/constants/analytics.js index 51b0c24b6..ff93e935a 100644 --- a/src/constants/analytics.js +++ b/src/constants/analytics.js @@ -43,6 +43,7 @@ const GaLabels = { ADDRESS_LOOKUP: "Address_Look_up", YES: "yes", NO: "no", + GLASS_CASH_QUOTE: "GlassCashQuote", }; const ValueToLogTypes = { diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 82249e790..b428ab905 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -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) {