Remove obsolete code

This commit is contained in:
Björn Fromme
2019-01-30 14:44:39 +01:00
parent 6a0f0eceba
commit 6a31a3ba81
@@ -3,11 +3,6 @@
import EventBus from '../_bus' import EventBus from '../_bus'
export default { export default {
props: {
conversionId: {
default: null
}
},
data () { data () {
return { return {
formErrors: {}, formErrors: {},
@@ -31,7 +26,6 @@
this.formErrors = response.errors; this.formErrors = response.errors;
} else { } else {
this.success = true; this.success = true;
this.trackConversion();
} }
EventBus.$emit('scrollTo', '#contactform'); EventBus.$emit('scrollTo', '#contactform');
}, },
@@ -47,19 +41,6 @@
this.success = false; this.success = false;
this.error = false; this.error = false;
$('#contactform').trigger('reset'); $('#contactform').trigger('reset');
},
trackConversion () {
if (!this.conversionId) {
return;
}
window.google_trackConversion({
google_conversion_id: this.conversionId,
google_conversion_language: "de",
google_conversion_format: "1",
google_conversion_color: "ffffff",
google_conversion_label: "lead",
google_conversion_value: 0
});
} }
} }
} }