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. |
#Related
Some report rows show a bare page id instead of a title
Report data comes from Google keyed on page id, and titles are looked up separately using
No page views appear in Google Analytics at all, even hours after setup
The most common cause is a Measurement ID that is not a GA4 ID. Anything not starting with
Everything else
The rest of this family.
Found it? Good.
