On this page:
Gain valuable insight into who is visiting your Confluence pages. The Viewtracker macro provides more information than just counting page hits. It provides important user behaviour details, of who has viewed which Confluence pages, and how often the page has been visited.
Use the Viewtracker macro to track page views per users if Auto Tracking is disabled.
|Name||Description||Type||This is a required field||Default||Values|
|Hide||Allows you to hide the tracked results||boolean||false|
|Expandable||Enables the expansion of the list. If the Extended Privacy Mode is activated or the data is hidden from the user, the Viewtracker macro isn't expandable.||boolean||true|
|Render User Names||Enables the creation of links to user profile pages in the list. Disable for better performance.||boolean||true|
|Sort||Sorts the list by date or name||enum||date||date, name|
|Time frame||Specifies the time frame for displaying the tracked data. The time frame can either be a specific date or the number of days (for example 12would display all elements tracked in the last twelve days). By default all tracked elements are displayed.||string|
|Date format||Define the format of the date specified in timeframe, if it is in a different format than the default Confluence format defined in the formatting/international settings. Specify a format that matches the simple date format.||string|
Simply place the Viewtracker macro on a Confluence page or blog post and your counter is ready to go:
Only display views tracked in the last 10 days:
Only display views tracked after 01/01/2000 (if MM/dd/yyyy is your default format in Confluence):
or to specify it in a different format: