Skip to main content
Skip table of contents

Integration with Scroll Viewport for Confluence

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:

Screenshot 2024-01-31 at 12.27.43.png

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

Screenshot 2024-01-31 at 12.29.01.png

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

Screenshot 2024-04-02 at 15.00.27.png

In Scroll Viewport

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

Screenshot 2024-04-02 at 15.02.41.png

Select Edit theme:

Screenshot 2024-04-02 at 15.04.00.png

Then Templates from the left hand menu:

Screenshot 2024-04-02 at 15.05.05.png

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

Screenshot 2024-04-02 at 15.06.45.png

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

Screenshot 2024-04-02 at 15.08.36.png

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

Screenshot 2024-04-02 at 15.11.17.png

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.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.