pageType = 'cases'; else if(path.indexOf('news') !== -1 || path.indexOf('knowledge') !== -1 || path.indexOf('industry') !== -1) pageType = 'article'; else if(path.match(/\.html$/)) pageType = 'article'; var btnText = el.textContent.trim().substring(0, 20); var btnClass = el.className || 'no-class'; if(typeof _hmt !== 'undefined'){ _hmt.push(['_trackEvent', 'phone_call', 'click', pageType + ' | ' + btnText + ' | ' + btnClass]); } } }, true); })();