Since PocketQuery 3.3.0 you can find the option to "Enable PocketQuery usage statistics" in your global PocketQuery configuration. When activated, PocketQuery will record some meta data each time a PocketQuery macro is executed.

This data is stored within your Confluence database in a new table (using the "Active Objects" mechanism) - which means, that you can use PocketQuery itself to further analyze and visualize this data! The following pages will demonstrate you how to do that.