

When we create digital campaigns for our clients we like to measure data and set goals.
Sometimes a goal is to complete a form or click on the phone number .
This is how you can track how many clicks did your phone number took in your website.
What to do in the website
First add this code to the phone button
<a href=”tel:2310123456″ onclick=”gtag(‘event’, ‘PhoneCallTracking’, {‘event_category’ : ‘ClicktoCall’,’event_label’ : ‘2310123456});”>2310 123 456</a>
This will show a link on the phone number 2310 123 456 and when you click it the tel:2310123456 will open your default device to call.
This script just count the clicks and not how many time did the phone call lasts etc. But it’s a good solution ot know how many clickes did you get and from what source/medium did the click came
you can call the “event” , “event_category “and “event_label” as you wish
What to see in the Google Analytics
( Event Label is different form my example as in the example i used a demo phone number ( 2310123 456 )
How to setup the goal in analytics
- Navigate to Admin in Google Analytics -> Goals (under View)
- Click ‘New Goal’
- Choose ‘Custom’ as a goal type
- Give your new cool goal a name
- Choose ‘Event’ as the goal type
- Click ‘Continue’
- Add your goal Category, Action and/or Label
- Verify the goal
- Save your new goal
- Pat yourself on the back, you’ve just set up your event goal!
Please see my example
What to do in Google Ads
You can import the goals from Google analytics to Google Ads. ( you must connect first Google Analytics and Google Ads )
and import your goals!
https://marketingsyrup.com/set-up-event-goals-in-google-analytics/ thank you!