How to add the code conversion button in html?

The customer asked to add code conversions on links to the site, and I've never done and have no idea where I should record these tags.
Here , for example, code : "ga('send', 'event', 'button5', 'click 5'". How to add the button ? should it be for the tag "button", or "a" too ?
Thanks for the help.
August 19th 19 at 22:44
1 answer
August 19th 19 at 22:46
In the event onClick/onSubmit write code that you were given. ga(...) function of script analysts. Accordingly what action monitor for that event and perform the function.

Find more questions by tags ConversionHTML