Remove phone number click tracking

This commit is contained in:
Björn Fromme
2018-11-19 12:23:46 +01:00
parent 06eaf37f57
commit b80e3a4d9b
2 changed files with 0 additions and 44 deletions
@@ -250,23 +250,6 @@ new Vue({
});
},
initPhoneLinks () {
const $phoneLinks = $('a[href^="tel"]');
const conversionClickHandler = function () {
goog_report_conversion($(this).attr('href'));
return false;
};
const nullClickHandler = () => {
return false;
};
if (this.mobileMode) {
$phoneLinks.unbind('click', nullClickHandler);
$phoneLinks.bind('click', conversionClickHandler);
} else {
$phoneLinks.bind('click', nullClickHandler);
$phoneLinks.unbind('click', conversionClickHandler);
}
},
initDropdownMenuBehavior () {
const $dropdownLinks = $('.navbar-main').find('a.dropdown-toggle');
if (this.mobileMode) {
@@ -319,7 +302,6 @@ new Vue({
$window.on('resize', () => {
this.setMobileMode();
this.initCarousels();
this.initPhoneLinks();
this.initFilterpanel();
this.initDropdownMenuBehavior();
let newBackgroundImageMode = this.getBackgroundImageMode();
@@ -412,7 +394,6 @@ new Vue({
this.initCarousels();
this.initHeaderSlider();
this.initContentsliders();
this.initPhoneLinks();
this.initTooltips();
this.initDropdownMenuBehavior();
this.initPartnerIdSelect();