CSR-2242
CSR-2242 allow drop off to trigger ga event for shops displayed
This commit is contained in:
parent
7c8b77d5df
commit
9cdf1022d0
1 changed files with 4 additions and 1 deletions
|
|
@ -167,7 +167,10 @@ export default {
|
||||||
if (logFirstShopsDisplayed) {
|
if (logFirstShopsDisplayed) {
|
||||||
gaAction = this.GaActions.SHOPS_FIRST_DISPLAYED;
|
gaAction = this.GaActions.SHOPS_FIRST_DISPLAYED;
|
||||||
}
|
}
|
||||||
if (this.selectedAppointmentType === AppointmentTypeStrings.IN_SHOP) {
|
if (
|
||||||
|
this.selectedAppointmentType === AppointmentTypeStrings.IN_SHOP ||
|
||||||
|
this.selectedAppointmentType === AppointmentTypeStrings.DROP_OFF
|
||||||
|
) {
|
||||||
var shops = mappedData.map((shop) => {
|
var shops = mappedData.map((shop) => {
|
||||||
if (shop.value.length > 5 && shop.value.startsWith("00")) {
|
if (shop.value.length > 5 && shop.value.startsWith("00")) {
|
||||||
return shop.value.substring(1);
|
return shop.value.substring(1);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue