Custom Variable Tracking issue


#1

I’ve run into this bug or glitch, where it doesn’t display the total visits for my custom variable. Any idea why I am running into this issue?


(Matthieu Aubry) #2

Because it is a custom variable of scope “page” which Piwik doesn’t process the “visits” overall. We could not sum the values as the total value is not valid (it would be bit performance heavy to process unique visits overall)


#3

After you set up a custom variable script, does PIWIK need any additional set up to record those variables?


(Matthieu Aubry) #4

No it just works after recording variables.


#5

If I can get the variables to print out on the web page via a PHP script, the script is following the instructions from your site and there are no errors displaying on the page what would cause the CVs not to show up in the back end?


(Matthieu Aubry) #6

What is the JS code generated in your page, with call to setCustomVariable?

maybe check you look at the right date in calendar?