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
Content piece (c_p) and target (c_t) are both optional and should be only sent if a value is set. Content piece defaults to "Unknown" in the PHP implementation but a user could pass the boolean value false to not send any value or content piece.
Do you need more information?
The text was updated successfully, but these errors were encountered:
This will be a new feature in Piwik 2.7.0 see matomo-org/matomo#4996 .
In PHP Tracker there are two new methods see https://github.com/piwik/piwik/blob/master/libs/PiwikTracker/PiwikTracker.php#L556-L583
doTrackContentImpression($contentName, $contentPiece = 'Unknown', $contentTarget = false)
It maps to the three parameters
c_n
,c_p
andc_t
see https://github.com/piwik/piwik/blob/master/libs/PiwikTracker/PiwikTracker.php#L894-L911and
doTrackContentInteraction($interaction, $contentName, $contentPiece = 'Unknown', $contentTarget = false)
Which sends to the four parameters
c_i
,c_n
,c_p
andc_t
see https://github.com/piwik/piwik/blob/master/libs/PiwikTracker/PiwikTracker.php#L914-L948Content piece (
c_p
) and target (c_t
) are both optional and should be only sent if a value is set. Content piece defaults to "Unknown" in the PHP implementation but a user could pass the boolean valuefalse
to not send any value or content piece.Do you need more information?
The text was updated successfully, but these errors were encountered: