On same Webpage, Custom Variables gets appended always to the previous ones. #5302
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
worksforme
The issue cannot be reproduced and things work as intended.
Q. How can we remove index information of previous tracking attempt's indexed information, from cvar,scope='page' variable ?
Scenario :
I am working currently on project that includes Liferay Portal integrated with Springs and hibernate.
There are two sections on single page
Search section has one integrated button of Download. In download section, we have applied tracking for few things by using 'setCustomVariable' of piwik.js, and output of call to piwik.php comes like
cvar output(through HTTPFox) :
{"1":Download","155231","3":["source","portal"]}
Now when we apply tracking through 'setCustomVariable' in Browse section(on same page), we get
"1":Download","155231"...
appended to our new piwik.php call. Comes like :
{"1":Download","155231","3":["source","portal"],"9":["ASSET","37"]}
Expected Output :
{"9":["ASSET","37"]}
In next tracking attempt(Browse on same page where search has been done).
Keywords: Custom Variable, cvar, tracking, setCustomVariable
The text was updated successfully, but these errors were encountered: