Is there something that I am missing to track unique, repeat and returning visitors correctly?
I am using the following trackers for my site to track any visit or visitors.
setDocumentTitle
setCookieDomain
setDomains
setUserId
trackPageView
enableLinkTracking
Following columns from piwik_log_visit: visitor_days_since_last, visitor_returning and visitor_days_since_first are all showing value '0’
and visitor_count_visits showing value ‘1’.
P.S: have tried setting trust_visitors_cookies to 1 in config.ini.php.
‘idvisitor’ values are generating correctly in piwik.
In our installation (piwik 3.0.1), the user-activity-data from before setting userId via “setUserId” is also not merged into the user-object with known userId. Therefore, it’s will not be seen when looking at the user with Id set.