Simple event tracking - is it possible?


#1

Hi!

I just started to use Piwik, but can’t find support for event tracking. I found some forum posts, but the only thing that seem to work is using Goals for different events and conversions as a counter for how many times some event happened.

What I thought of:

  1. Use custom variables
    Why it doesn’t work: you have to set them and then call trackPageView for each event on a page (this will make page view counter incorrect)

  2. Use Goals
    Create separate goal for each event and call _paq.push([‘trackGoal’, 1]); each time some event happens. This will log a conversion for that goal, so number of conversions would mean number of events that correspond to that goal.

Is there any other (more proper) way to make this work?

Thank you.


(Matthieu Aubry) #2

Custom Events is coming soon, stay tuned Custom Events analytics, event tracking · Issue #472 · matomo-org/matomo · GitHub


#3

Hi matt,

I see there is a event plugin. but there is no option to add category and event. how can we add event and track. is there any document for this.?

Thanks,
Bhagat.


(Matthieu Aubry) #4

See: Event Tracking - Analytics Platform - Matomo