Google Analytics event tracking tracks anything that a user clicks on your website. This can include clicking phone numbers, email address, download links, sign-ups, form submissions, outbound links or any other calls-to-action.
Below is an example of basic link code that triggers a phone call when the “CALL (855) 482-4242” is clicked on from a mobile device.
In the scenario, the category is called “Phone Call Tracking” to make it easier to track phone calls across the entire site. The action is called “Click to Call” to identify that the user needs to click on the phone number to initiate the action. The label has been set to “855-482-4242” because this is the phone number that is being clicked and tracked.
For this example, we won’t assign the event a value, so it doesn’t need to appear in our code. The NonInteraction option is set to false by default, but if we want to assign it as true we can do so by defining the variable within two curly brackets and setting it to ‘1, ’ ie {‘NonInteraction’: 1}
Now that we have planned out the event we can put it all together!