I've applied the code below to collect article vote information in Google Analytics. The issue is that it's collecting a large number of events versus unique events. For example 21 events and 9 unique events. Suggesting that one visitor is clicking the Yes or No on and off repeatedly in a given session.
Does anyone have any ideas what might be the problem with the code or if it could be something else that might be causing distorted results?
var path = window.location.pathname;
ga('send', 'event', 'Vote Button', 'Downvote', path);
Vous devez vous connecter pour laisser un commentaire.