Refined or Scroll Viewport pages report nothing after pasting the snippet

What you are seeing

Refined or Scroll Viewport pages report nothing after pasting the snippet.


#Why it happens

Usually the other product's content security policy is blocking the lookup request, or the snippet was pasted in the wrong place.


#What to do

Allow client.api.app in that product's content security policy. Check the placement: Refined needs it at the end of BODY under Activate Custom HTML; Scroll Viewport needs the JavaScript variant under Templates > Custom JavaScript.


#Settings involved

Setting

Where

What it does

Published site generators (Refined / Scr

Settings > Apps > Google Analytics > Published site generators

The paste-in loader for content published outside Confluence. Refined takes an HTML script tag; Scroll Viewport takes the JavaScript variant.



Found it? Good.