javascript - How can you handle multiple events in google analytics from a single action? -


Currently, when a user clicks on a thumbnail on my page, I track that page (points on the page) ), The position of the thumbnail was (pre: 5th second), and the total number of thumbnails on that page. Right now, I produce 3 different events for this one click as a single action with a different label and value. Something looks like this:

  ga.send ('event', '[page]', 'thumb', 'page', 1) ga.send ('event', '[page Group, 'thumb', 'position', 2) ga.send ('event', '[page]', 'thumb', 'total', 10)  

Is there a better way to create event data or have I been left with 3 different calls?


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -