Merge pull request #1282 from Safelite/feature/Digital/csr-1529.1
zip code GA event
This commit is contained in:
commit
bba1b871bc
2 changed files with 0 additions and 15 deletions
|
|
@ -12,7 +12,6 @@ const GaEvents = {
|
||||||
const GaCategories = {
|
const GaCategories = {
|
||||||
API_RESPONSE: "Api_Response",
|
API_RESPONSE: "Api_Response",
|
||||||
EVOX: "Evox",
|
EVOX: "Evox",
|
||||||
FUNNEL_ENTRY: "funnel_entry",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const GaActions = {
|
const GaActions = {
|
||||||
|
|
@ -21,7 +20,6 @@ const GaActions = {
|
||||||
VIF: "vif",
|
VIF: "vif",
|
||||||
SUBMITTED: "Submitted",
|
SUBMITTED: "Submitted",
|
||||||
DISPLAYED: "Displayed",
|
DISPLAYED: "Displayed",
|
||||||
ZIP_CODE_PROVIDED: "zip_code_provided",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const GaLabels = {
|
const GaLabels = {
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,6 @@ export default {
|
||||||
},
|
},
|
||||||
selectedWindshieldOptions: this.getWindshieldOptionsFromStore(),
|
selectedWindshieldOptions: this.getWindshieldOptionsFromStore(),
|
||||||
selectedRearReplaceOptions: this.getRearReplaceOptionsFromStore(),
|
selectedRearReplaceOptions: this.getRearReplaceOptionsFromStore(),
|
||||||
serviceZipCode: this.getZipFromStore() ?? this.$route.query.zipcode,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
@ -169,18 +168,6 @@ export default {
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (this.serviceZipCode) {
|
|
||||||
this.pushEventToGA(
|
|
||||||
this.GaCategories.FUNNEL_ENTRY,
|
|
||||||
this.GaActions.ZIP_CODE_PROVIDED,
|
|
||||||
this.serviceZipCode,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
getZipFromStore() {
|
|
||||||
return this.$store.getters.order.serviceLocation.zipCode;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
backButtonAction() {
|
backButtonAction() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue