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; }