From fb297261f9f29afaa950e79e793ea68f14ff5c4b Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Thu, 9 Apr 2026 16:30:40 -0400 Subject: [PATCH] INSR-9225: Update vin-lookup events to match what actually fires in Heritage --- src/layouts/vin-lookup/vin-lookup.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index af598359..9057e864 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -179,7 +179,7 @@ export default { if (this.needToLookupVehicle) { try { const vehicleLookupResponse = await this.lookupVehicleByVin(this.vin); - this.pushEventToGA("VIN", "TEXT", "SUCCESS", true, null, '1'); + this.pushEventToGA("policy_vehicle", "VIN_lookup", "SUCCESS", true, null, '1'); if (!vehicleLookupResponse.data.canSafeliteService) { this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId)); @@ -196,6 +196,7 @@ export default { } ); } catch (e) { + this.pushEventToGA("policy_vehicle", "VIN_lookup", "FAIL", true, null, '0'); if (e.status === 404) { this.activeVehicleLookupAlertType = vehicleLookupAlertTypes.NOT_FOUND; this.resetVehicleFromLookup(); @@ -203,7 +204,6 @@ export default { // because the form itself actually passes its client-side validation. // SSR-189 Scenario #4. this.$refs.siteFooter.enableForwardAction(); - this.pushEventToGA("VIN", "TEXT", "NO VEHICLE FOUND", true, null, '0'); showIssLoadingModal(false); return; }