This macro makes it easy for Confluence users to set custom variables for Piwik.
A custom variable is a custom name-value pair that you can assign to your visitors (or page views) using the JavaScript Tracking API, and then visualize the reports of how many visits, conversions, etc. for each custom variable.
Piwik. Custom Variables Analytics