Restrict View Tracker Information visible to Admin users

I want to show the view tracker information only to admin users.I tried two options here.

  1. Added view-tracker macro in 'XYZ' page and for this page i added a page level view restriction for admin users .I included this page in the required page which i want to track. But it is tracking only the admin users only, not all the users.
  2. Inside 'show-if' macro i added the 'view-tracker' macro but this way also working same like above.

The requirement is to track the information of all the users who visited the page but the tracking information is visble to only admin users.Hope i'm clear.

1 answer

1 accepted

3 votes
Accepted answer

When you use the Viewtracker macro inside a show-if block, it won't get executed for the other users and won't increase their view counters. But you could hide the output of the main Viewtracker macro and use the undocumented Viewtracker-Report macro to display the data in read-only mode:



Hope this helps


Thanks Remo this is working but i changed a little bit to show the report in "hide and collapse" view i added the {viewtracker} macro inside {show-if}



hi guys, this might be a newbe question, but where do I insert this wikimarkup code. I'm using Confluence 5.3 and no wikimarkup macro is available or any other place i can find.... thanks!

Hi Jorge, There is an insert menu that is indicated by a + (plus sign). Click that and select wiki markup. It will open a dialog box where you can put the wiki markup.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,088 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you