Provide document properties to the Piwik context.

Name
Document Properties
Categories

Description

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.

Properties

Here is an overview over the options for this macro:

Title

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

Details

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']);
</script>  

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.