Tracking from Google TV

Hi guys,

I have the following call being made against my server:

piwik.php?action_name=TomAndJerry&url=http://fakesite.com/TomAndJerry&idsite=11&rand=2136916373&h=14&m=25&s=0&rec=1&apiv=1&cookie=37080631&urlref=http://fakesite.com&_id=5018885&_idvc=19&res=standard

Basically someone is watching a Tom and Jerry video and the call is being made every 1 minute … the action_name does not change, the idsite does not change, h,m,s may change, the cookie is random, the _id does not change (per user)

However, I have noticed that Piwik counts each call as a new visit. I was hoping that Piwik could aggregate the calls made by a user on the same page (via action_name + _id) so that when I look at the lengh of visit it gives me an estimate of the time the users spent watching my videos. Also, is it possible to get the lenght of visit per page (action_name) and also per user (_id)?

Thank you very much.

I recommend to use the tracking API instead Tracking API - Analytics Platform - Matomo

Then you can call setIp() and setForceVisitorId()