Implement proper conversion tracking
This commit is contained in:
@@ -205,14 +205,9 @@
|
||||
this.formErrors = {};
|
||||
},
|
||||
trackConversion () {
|
||||
window.google_trackConversion({
|
||||
google_conversion_id: 1072535457,
|
||||
google_conversion_language: "en",
|
||||
google_conversion_format: "1",
|
||||
google_conversion_color: "ffffff",
|
||||
google_conversion_label: "lead",
|
||||
google_conversion_value: 0
|
||||
});
|
||||
ga('create', 'UA-230208-3') ;
|
||||
ga('send', 'event', 'Formular', 'Abschicken');
|
||||
gtag('event', 'conversion', { 'send_to': 'AW-1072535457/BScCCKyEtocBEKGvtv8D' });
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
@@ -54,14 +54,9 @@
|
||||
this.$session.set('formData', this.formData);
|
||||
},
|
||||
trackConversion () {
|
||||
window.google_trackConversion({
|
||||
google_conversion_id: 1072535457,
|
||||
google_conversion_language: "en",
|
||||
google_conversion_format: "1",
|
||||
google_conversion_color: "ffffff",
|
||||
google_conversion_label: "lead",
|
||||
google_conversion_value: 0
|
||||
});
|
||||
ga('create', 'UA-230208-3') ;
|
||||
ga('send', 'event', 'Formular', 'Abschicken');
|
||||
gtag('event', 'conversion', { 'send_to': 'AW-1072535457/BScCCKyEtocBEKGvtv8D' });
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
alt="Processing...">
|
||||
</div>
|
||||
<div class="configurator__overlay" v-if="success" @click.prevent="resetForm()">
|
||||
<p class="form__overlay__text"><strong>{f:translate(key: 'tx_epevents.label.configurator_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong></p>
|
||||
<p class="form__overlay__text"><strong class="form-success">{f:translate(key: 'tx_epevents.label.configurator_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong></p>
|
||||
</div>
|
||||
<div class="configurator__overlay" v-if="error">
|
||||
<strong>{f:translate(key: 'tx_epevents.label.error_occured', extensionName: 'EpEvents') -> f:format.raw()}</strong>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<img src="{f:uri.resource(path: 'images/spinner_default.gif', extensionName: 'ep_events')}" alt="Processing...">
|
||||
</div>
|
||||
<div class="form__overlay" v-show="success">
|
||||
<p class="form__overlay__text"><strong>{f:translate(key: 'tx_epevents.label.contact_form_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong></p>
|
||||
<p class="form__overlay__text"><strong class="form-success">{f:translate(key: 'tx_epevents.label.contact_form_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong></p>
|
||||
<p class="form__overlay__text">
|
||||
<a class="form__button" href="{v:site.url()}"
|
||||
title="{f:translate(key: 'tx_epevents.label.contact_form_continue')}">
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<img src="{f:uri.resource(path: 'images/spinner_box.gif', extensionName: 'ep_events')}" alt="Processing...">
|
||||
</div>
|
||||
<div class="form__overlay" v-show="success">
|
||||
<strong>{f:translate(key: 'tx_epevents.label.contact_form_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong>
|
||||
<strong class="form-success">{f:translate(key: 'tx_epevents.label.contact_form_thank_you', extensionName: 'EpEvents') -> f:format.raw()}</strong>
|
||||
</div>
|
||||
<div class="form__overlay" v-show="error">
|
||||
<strong>{f:translate(key: 'tx_epevents.label.error_occured', extensionName: 'EpEvents') -> f:format.raw()}</strong>
|
||||
|
||||
Reference in New Issue
Block a user