Anyways, I went into the GA developers documentation, and here is what I found:
I needed to set the variables of the event inside the template (file) where I sited the google analytics tracking code, with these parameters:
ga('send', 'event', 'button', 'click', 'nav buttons', 4);where
buttonis thecategoryclickis theactionnav buttonsis thelabel4is thevalue
ga('send', 'event', 'category', 'action', {'page': '/my-new-page'});There are other things you can do, but this was good enough for me.
This is the link I used
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
No hay comentarios:
Publicar un comentario