How can put 5 custom var?

I mean like this : http://piwik.org/wp-content/uploads/2011/02/name-and-values.png

I don’t know how, i need to modify this javascript code?

piwikTracker.setCustomVariable(1, “User”, “John Doe”, “visit” );

How?

Thanks

Actually you’re not limited to 5 values, you can have as many as you define -

piwikTracker.setCustomVariable(1, “User”, User, “visit” );

Limit is 5 custom variables (call it category) per visit and 5 per page scope.

cheers

Yes, i know you can do this:

piwikTracker.setCustomVariable(1, “User1”, User, “visit” );
piwikTracker.setCustomVariable(2, “User2”, User, “visit” );
piwikTracker.setCustomVariable(3, “User3”, User, “visit” );
piwikTracker.setCustomVariable(4, “User4”, User, “visit” );
piwikTracker.setCustomVariable(5, “User5”, User, “visit” );

and something like this

piwikTracker.setCustomVariable(1, “User1”, User, “page” );
piwikTracker.setCustomVariable(2, “User2”, User, “page” );
piwikTracker.setCustomVariable(3, “User3”, User, “page” );
piwikTracker.setCustomVariable(4, “User4”, User, “page” );
piwikTracker.setCustomVariable(5, “User5”, User, “page” );

and i have now ten categories, but i would know how to put for each user more than 1 value, i mean:

Thanks

I edited the database schema in order to add more than 5 (But I think this
only giving me the chance to put more than 5 visits scope and more than 5 page scope), I need to add more values besides actions and visits, like in the image taken from piwik devs as example, how can I do it?