Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To enable Google Analytics tracking in Scroll Viewport for Confluence Cloud, follow the instructions below.

In Confluence

From the Apps menu, select Google Analytics in Confluence:

...

Then select Configure from the “•••” (Tools) menu:

...

Scroll to the bottom of the screen and copy the JavaScript that’s highlighted below:

...

In Scroll Viewport

In Confluence, select Scroll Viewport from Apps in the top menu,

Screenshot 2024-04-02 at 15.02.41.pngImage Added

Select Edit theme:

...

Then Templates from the left hand menu:

...

Expand Custom JavaScript, paste in the code, then press the Save button:

...

Press Update site to add the new JavaScript code to the site

...

Press the Go live button to apply the changes to your Scroll Viewport site:

...

After around 24 hours, you should see some data, and it will be possible to filter for Scroll Viewport data in the Where displayed dropdown in reports:

Screenshot 2024-04-02 at 15.20.55.pngImage Added