I read General - Analytics Platform - Matomo . But this not fit for me. I want to use piwik tracking with my desktop app. So I always know when visit in really was started and ended.
Is there a way to write on piwik server certain time of start and end my app?
Yes use the parameter &cdt to specify the time of an action, see: http://piwik.org/docs/tracking-api/reference/
I don’t want to make a new user on piwik server. Can I use some fake token_auth?
I tried to use cdt but new visit was not started.
I start my app, exit, and start again. When I opened piwik site->Visitors->Visitor log I see only one visit.
Maybe I something do wrong?