Unable to filter tracking table for Spaces using @global or labels

  • 1
  • Question
  • Updated 3 years ago
  • (Edited)
I am in the process of setting up a global tracking page for our Confluence site.
One component on the page is list all of the Spaces within the site and how many total page views each Space has.

I have achieved this with the following:

{tracking-table:spaces=@all|types=space|sort=view count desc}
    {tracking-column:space name|title:Wiki Space Name}
    {tracking-column:view count|title:Total Site Page Views}

This works well and I get a table showing precisely what I wanted to see. The problem is that the table includes a whole lot of personal Spaces - which I don't care about and don't want to include in the results.

I have tried using the spaces=@global value, however that does not seem to produce any results when the table is also using the types=space value.

If I switch the value to types=page or news or attachment, then the table populates as expected.

Seeing that was a no go I tried using labels to filter as an alternative (it appears that you can apply labels at the Space level from what I could see). Again similarly to above it works fine when using types=page and the table populates as expected, but using types=space results in an empty table.

Interestingly to note it seems that you MUST use spaces=@all when using types=spaces as if you leave it blank it also generates an empty table.

Can anyone explain how generating a table showing ONLY GLOBAL SPACES and TOTAL VIEW COUNTS can be achieved?

edit: If it matters I'm running Confluence 5.9.6 and Tracking Plugin 4.0.0
Photo of Mark Benson

Mark Benson

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1

There are no replies.