Blog

$(document).ready(function() { $('#call-btn').on('click', function(e) { ga('send', 'event', 'Phone', 'ClickToCall'); console.log('click to call') }) $('#call-btn-2').on('click', function(e) { ga('send', 'event', 'Phone', 'ClickToCall'); console.log('click-to-call'); }) $('#email-btn').on('click', function(e) { ga('send', 'event', 'Email', 'ClickToEmail'); console.log('click to email'); }) })