Analytics Macro

lawrence whittemore asked on July 20, 2015 15:49

Is there a way to show a page view count with a macro?

Recent Answers


Roman Hutnyk answered on July 20, 2015 16:01

As far as I know, there is no, but you can always implement your custom one.

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on July 20, 2015 22:37

Just make a custom one that passes in the current page or a document id, then use the api to get the count and return the integer. Should be a pretty simple implementationm, just make sure you follow the documentation on creating a custom macro and create your class and register it correctly, otherwise you won't be able to access it from the macro editor.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.