The PocketQuery macro can only be used on publicly accessible pages without dynamic load. That means the macro parameter “Load dynamically“ has to be disabled. For security reasons all REST calls to the PocketQuery backend always need to be authenticated.
Dynamic load also needs to be avoided in PocketQuery templates. Following limitations apply:
The velocity method $PocketQuery.renderPocketQueryMacro can only be used with dynamicload: false
Note: Naturally, you will want to choose carefully which information is save to be publicly available.