Remove obsolete code
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
import EventBus from '../_bus'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
conversionId: {
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
formErrors: {},
|
||||
@@ -31,7 +26,6 @@
|
||||
this.formErrors = response.errors;
|
||||
} else {
|
||||
this.success = true;
|
||||
this.trackConversion();
|
||||
}
|
||||
EventBus.$emit('scrollTo', '#contactform');
|
||||
},
|
||||
@@ -47,19 +41,6 @@
|
||||
this.success = false;
|
||||
this.error = false;
|
||||
$('#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
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user