Website Phone Number Set Up and Tracking Error

时间:2019-01-07 13:54:02

标签: events

I have set up an Event in GA to track the clicks of a phone number in the Header of a website. I noticed the site has gtag.js activated. Google Analytics is not recording any activity for this "Event". So, I am doing something wrong.

This is the code I have added around the phone number -

I have used the Google Extension Console and it is not picking up the code.

<a href="tel:+61-2-6242-8996" gtag(‘event’, ‘contact’, { event_category: 
‘Phone’, event_action: ‘Click to Call’, event_label:’02-6242-8996′});">Call 
02 6242 8996</a>

This is a small screenshot of the setup of my "Event" in Google Analytics Goals

0 个答案:

没有答案