"sum_time_spent" does not show up in some report rows


(zeta) #1

Hi,
I was wondering how the <sum_time_spent> property been populated; because I have an entry with as many as 6 visits that’s missing that property while the others have it. Here’s a small chunk of the report (API.GetActions):

- - how-to-be-black-online 273 293 10 0 [b]2991[/b] 1 40 451 0 3 - - /4b2bd864-f7f9-4bc8-87ea-f43a2ba9678e 6 6 <[b]sum_time_spent>59 [/b] 6 how-to-be-black-online/4b2bd864-f7f9-4bc8-87ea-f43a2ba9678e - /6061c04c-fc12-42bf-9403-a5846e5f6544 6 6 5 0 6 5 how-to-be-black-online/6061c04c-fc12-42bf-9403-a5846e5f6544 - /654997ae-f173-46cf-996c-8f16a94e99cd 6 6 [b]35 [/b] 6 how-to-be-black-online/654997ae-f173-46cf-996c-8f16a94e99cd

Thanks in advance.


(Matthieu Aubry) #2

That’s a bug. I think it is because for pages without a follow up page view, we don’t know how long they spent time on, and we set 0 by default. I created a ticket: http://dev.piwik.org/trac/ticket/1259