From 6a31a3ba81e37262d274bcb0395ac7bc0aadecee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 30 Jan 2019 14:44:03 +0100 Subject: [PATCH] Remove obsolete code --- .../Assets/js/components/ContactForm.vue | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ContactForm.vue b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ContactForm.vue index 23ce6e75..7dff1974 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ContactForm.vue +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ContactForm.vue @@ -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 - }); } } }