We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I use "setCustomVariable" in my Piwik code as follow and I noticed, that the values are not tracked as expected.
_paq.push(["setCustomVariable", 1, "Domain", document.domain, "visit"]); _paq.push(['trackPageView']);
after debugging, I've seen, that $keyValue contains a string like '["NAME", "VALUE"]' where propably an array is expected.
https://github.com/piwik/piwik/blob/master/core/Tracker/Request.php#L553
I could help myself by convert this string to back to an array.
foreach(preg_split("/[\s,]+/", $keyValue) as $val){ $keyValueModified[]=trim($val,'"[]'); } $keyValue=$keyValueModified;
Can somebody please take a look at this?
Regards,
Carsten
The text was updated successfully, but these errors were encountered:
duplicates #9027
Sorry, something went wrong.
No branches or pull requests
I use "setCustomVariable" in my Piwik code as follow and I noticed, that the values are not tracked as expected.
after debugging, I've seen, that $keyValue contains a string like '["NAME", "VALUE"]' where propably an array is expected.
https://github.com/piwik/piwik/blob/master/core/Tracker/Request.php#L553
I could help myself by convert this string to back to an array.
Can somebody please take a look at this?
Regards,
Carsten
The text was updated successfully, but these errors were encountered: