I am using Komito Analytics to track Events in Google Analytics.
So far they are doing good.
I would like to create 2 different buttons with different ids or classes and track them separately.
is that possible?
I am using Komito Analytics to track Events in Google Analytics.
So far they are doing good.
I would like to create 2 different buttons with different ids or classes and track them separately.
is that possible?
2
Answers
You can count the number of clicks on the button with Javascript
Depending on your needs and current implementation, you can use one of the following methods:
trackForms
to track forms submissions and wrap each button in a<form>
element:trackActions
to track CTA actions for links and use links instead of buttons: