How can I install Google Analytics Javascript snippet in Confluence Cloud?

All documentation seems to be for JIRA or for the server version of Confluence. How can I add Javascript to Confluence Cloud!? Thanks! 

My "look and feel" section does not have anything about custom HTML:


Screen Shot 2016-10-26 at 11.17.17 AM.png


3 answers

Hi Aza,

If you're looking for analytics in Confluence we've built an add-on specifically for the job. It includes an overview of activity, shows you who has viewed each page and more. It also doesn't require you to manually add a code snippet to each page.

You can find more details here: Analytics for Confluence Cloud

Hope it helps!

I think you'll have to pay for the HTML Macro for Confluence Cloud.

Hello Aza, 

Not sure if you already found a good solution by now. 

Our engineer created a plugin for our internal use previously, to connect GoogleAnalytics with Confluence Cloud, as there's little analytics available on Cloud.

We saw that many people have the same problems like we did, so in early March we decided to publish the plugin in the marketplace. It's free at the moment, so give it try, maybe it helps.

Here is the setup guide

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,891 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you