Tracking Social Media Interaction


#1

Using the PiwikTracker class and with the doTrackAction function, which the docs ( http://qa.piwik.org:8080/phpdocs/PiwikTracker/PiwikTracker.html#doTrackAction ) say you can pass the actionTypes of “download” or “outlink” to it…

however if you specify something else (Twitter, Facebook, etc) would it break things?

I have not seen a plugin for tracking social media outlinks anywhere, and this seemed like it might be an alternative to authoring a plugin as they are doing very similar actions for something that would be very useful in the Piwik core.


(Matthieu Aubry) #2

Would you like to track clicks on FB likes for example? For this I highly suggest using Custom Variables of scope “page” Custom Variables Analytics - Analytics Platform - Matomo

See also related request: Add FAQ ./ doc to explain how to track clicks on facebook social plugins (like / share) · Issue #2644 · matomo-org/matomo · GitHub