Provide document properties to the Piwik context.

Document Properties


This macro makes it easy for Confluence users to set properties to be used for analytics with Piwik. It provides a fixed set of key value pairs to be specified by the user and renders the code to call Piwik's API. Currently only one property is supported.


Here is an overview over the options for this macro:


Set the title of the page in case you want to override the page default title.


The macro creates a JavaScript tag in HTML. The following shows the rendering in case every property is defined.

Generated JavaScript Tag
<script type='text/javascript'>
   var _paq = _paq || [];
   _paq.push(['setDocumentTitle', 'My Page Title']);

Related Macros

Set Multiple Custom Variables
Provide a set of custom variables to the Piwik context.
Set One Custom Variable
Provide a single custom variable to the Piwik context.