{tracking-info}
Plugin: Tracking Plugin
This macro outputs tracking information about the current (or any other) page, including the number of times it has been viewed, the first view date and the last view date.
Usage
Parameters
| Name |
Required |
Default |
Description |
| [default] | | current page | The page/attachment to report on. |
| value | | | The value to report. May be one of the following:
- first view date - The date the content was first viewed by someone other than the creator.
- last view date - The date the content was last viewed by someone other than the last editor.
- view count - The number of times the content has been viewed since the 'first view date'.
- age in days - The number of days between the day the content was created and now.
- views per day - The average number of views per day since the content was created.
|
| digits | | | For values returning a number, the minimum number of digits to output. |
| type | | plain text | For values returning a number, the type of image to use for the counter (e.g. "gif", "jpg", etc). If not set, plain text will be output. |
| images | | | For values returning a number, the style of image to use if type is not text. Defaults to the built-in 'odometer' style. |
| format | | | For values returning a date, the date format (eg. 'dd-MMM-yyyy'). May also be 'long', 'medium' or 'short', which will use the system defaults for those formats. |
Viewing the hit count for the current page
Page views can be reported for the current page.
Viewing the hit count for other pages
Page views can be reported for pages in any visible space.
Viewing the hit count for pages in another space
The number of page views for a page in a different space space can be listed also.
Viewing the total hit count for a space
The total number of hits for a space are retrieved by listing the space key followed by a ':'.
Viewing attachment download counts
You can also report the number of times an attachment has been viewed (for images, this includes every time it is displayed on a page).