I tried to implement the click event from GA but it's not computing anything
I read documentation and tried make the following changes
1-
<a id="home-video" onClick= "dataLayer.push('send', 'event','video', 'clique', 'video2709');" ></a>
2-
<a id="home-video" onClick="ga('send', 'event', {'video', 'clique', 'video2709'});"></a>
3-
<a id="home-video" onClick="ga('send', 'event','video', 'clique', 'video2709');"</a>
4-
<a id="home-video" onClick= "dataLayer.push('send', 'event','video', 'clique', 'video2709');"</a>
var triggerButton = document.getElementById("home-video");
triggerButton.addEventListener("click", function() {
myModal.open();
ga("send", "event", {
eventCategory: "contato",
eventAction: "clique",
eventLabel: "botao-contato-topo"
});
});