You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get Piwik to track campaigns. I am using Piwik Tracking API via piwik-php-tracker. In my code I set the attribution info -- properly, I think, as it gets recorded in the cookies and is available via getAttributionInfo() call.
Specifically, this means that the _rcn and _rck params of the Piwik HTTP Tracking API call get set. Apparently they are, and they do get passed to Piwik via HTTP, as I can see them in the debug output (I added a bit of logging here and there to Piwik to trace what's happening).
Here's the HTTP request that gets made by PiwikTracker.php:
However, they are being completely ignored, it would seem. "Campaigns" report has "no data", or at least no data about the campaigns that are supposed to be tracked this way, even though visits do get recorded and the referrer info (i.e. referrer URL) gets set properly.
Curiously, campaigns tracked via pk_campaign query param in URLs seem to work properly also.
I am using Piwik 2.13.x (upgrading to 2.14.x postponed here until we can sort this one out).
The text was updated successfully, but these errors were encountered:
I am trying to get Piwik to track campaigns. I am using Piwik Tracking API via
piwik-php-tracker
. In my code I set the attribution info -- properly, I think, as it gets recorded in the cookies and is available viagetAttributionInfo()
call.Specifically, this means that the
_rcn
and_rck
params of the Piwik HTTP Tracking API call get set. Apparently they are, and they do get passed to Piwik via HTTP, as I can see them in the debug output (I added a bit of logging here and there to Piwik to trace what's happening).Here's the HTTP request that gets made by
PiwikTracker.php
:However, they are being completely ignored, it would seem. "Campaigns" report has "no data", or at least no data about the campaigns that are supposed to be tracked this way, even though visits do get recorded and the referrer info (i.e. referrer URL) gets set properly.
Curiously, campaigns tracked via
pk_campaign
query param in URLs seem to work properly also.I am using Piwik 2.13.x (upgrading to 2.14.x postponed here until we can sort this one out).
The text was updated successfully, but these errors were encountered: