Fix gtm params not being pushed

This commit is contained in:
Björn Fromme
2019-10-10 09:40:29 +02:00
parent 0717d5a2ca
commit bf4dd6a738
@@ -142,7 +142,6 @@
this.dateEnd = dayjs(json.dateEnd).format('DD.MM.YYYY'); this.dateEnd = dayjs(json.dateEnd).format('DD.MM.YYYY');
this.servicesIncluded = json.servicesIncluded; this.servicesIncluded = json.servicesIncluded;
this.loading = false; this.loading = false;
this.trackConversion();
EventBus.$emit('tableLoaded'); EventBus.$emit('tableLoaded');
}); });
}, },
@@ -206,6 +205,7 @@
}, },
mounted () { mounted () {
Vue.nextTick(() => { Vue.nextTick(() => {
this.trackConversion();
if (this.hotelFirst) { if (this.hotelFirst) {
this.showHtml('hotel', false); this.showHtml('hotel', false);
} else { } else {