Using Custom variables to output all widgets on a per variable basis


We have a marketplace style site and wish to show sellers complete stats on their pages including things like referrers and keywords etc…

Is this possible using custom variables? I have had a play with them and the widgitised reporting seems fairly limited (though I may have missed somethign of course).

eg /admin/stats/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Referers&actionToWidgetize=getKeywords&idSite=2&period=day&date=yesterday&disableLink=1&widget=1&segment=customVariableName1==Member;customVariableValue2==Memberid_1325

the above displays no data.

I guess another wat to do it is to map a member to a new “site”, but this seems liek overkill.

Am I completely off track?

Would labels be the right thing to use here?

if so, how and where to you add a label into the tracking code?

Custom variables should work in this case. Maybe in the segment you meant customVariableValue1 instead of customVariableValue2 ?

Ahha. I have this one working now, but I still can’t get the entire dashbaord to work. If the code below is working ofr me, what should it be please to geenrate the entire filtered dashboard?;customVariablePageValue2==Memberid_536

Many thanks Matt.

Add the &segment=XX to the end of the dashboard URL and it will filter all widgets with this segment

Happy New Year! If you are still using Piwik and interested in the awesome new feature of “Creating a Custom Segment in Piwik and apply to reports in Real time!” we need YOUR help, with a little or big donation at:

This will allow to dynamically add or edit, a new set of rules for example “Show all visitors from USA and using Firefox and using Google”. This will be done via a simple to use interface. See screenshots and more info here:

We are crowd funding the future of Piwik and this feature in particular. With your help we can do it.