{tracking-table}
Plugin: Tracking Plugin
This macro outputs a table of tracking data for a specified set of content (pages, news, attachments, etc).
Usage
{tracking-table:
spaces=(+/-)[@all|@global|@personal|@favorite|KEY]
|scope=(+/-)[KEY:]Page > [children|decendents|ancestors]
|labels=(+/-)label
|types=(+/-)[space|page|news|attachment]
|sort=[natural title|exact title|space key|space name|creation date|modification date|view count|first view date|last view date] (asc/desc)
|maxResults=X
}
{tracking-table}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| spaces | | @self
| The comma-separated list of space(s) to search in. Use this to improve performance - only search spaces you're interested in. May be one of the following:
|
| scope | | The page hierarchy scope to restrict the values to (eg. "KEY:Page > descendents"). | |
| labels | | The list of labels to test. Eg. "+foo, -bar" (must have "foo", must not have "bar"). | |
| types | | page, news, attachment
| The list of types to display information for. Eg. "page, space". Defaults to "page, news, attachment". |
| sort | | "view count desc, natural title"
| Parameter description goes here. The list of columns to sort by, in order. |
| maxResults | | The maximum number of results to return after sorting. Defaults to all results. |
| The 'filtering' parameters (spaces, scope, lables and type) can all be specified as optional, required and excluded. Read here for more information. |
Examples
Viewing the hit counts for all content in the current space
{tracking-table}
Viewing the hit count for all spaces
{tracking-table:spaces=@all}
{tracking-column:value=Title}
{tracking-column:value=Space Name|title=Space}
{tracking-column:value=View Count}
{tracking-table}
Viewing the hit count for all decendents of the "Bar" page in the "FOO" space.
{tracking-table:space=FOO|scope=FOO:Bar > descendents}
{tracking-table}
Discussions