Things that don't work
This page is specific to Confluence Cloud only.
In normal implementations of Google Analytics, you simply add some tracking JavaScript onto the page and all the features of Google Analytics are available to you. This add-on cannot do everything that normal Google Analytics does. The reason for this is that Google Analytics JavaScript code runs in an iframe on a completely different domain to your Confluence Cloud instance. With this restriction comes limitations in what data can be collected.
We do the absolute best we can to implement Google Analytics as fully as possible.
Some things, unfortunately, slip through the cracks:
Referrer
We can't get the referrer of the parent frame. In fact, it's worse than that, Atlassian actually block the add-on from knowing the URL of the page in which is it present by using thereferrer-policy="no-referrer"
attribute on their iframes (find out more). This means that we cannot determine where the user was prior to arriving on your Confluence Cloud instance.It doesn't work on mobile
Sorry about that, but it seems that Atlassian Connect is not supported on mobile devices right now.If you want support for mobile apps, vote for AC-2225 or ask Atlassian to do something about it.
Page tracking does not work if “Prevent cross-site tracking” is enabled on Safari
This is an unfortunate part of how the Atlassian Connect framework works. When Safari has “Prevent cross-site tracking” enabled, it prevents an iframe on another domain from using third-party content providers from sharing information. This can a good thing when the cross-site tracking is used by advertising networks which track your behaviour across multiple site. However, in our case, it prevents the ability to send tracking data to Google Analytics on your behalf.Page tracking does not work if “Enhanced Tracking Protection” set to “Strict” on Firefox
Firefox has a browser privacy function built in which when set to Standard blocks items such as social media trackers, cross-site tracking cookies, cryptomines and browser fingerprinting. When this protection is set to Strict, it provides stronger protection, but may cause some sites or content to break. In Strict mode, it blocks tracking by Google Analytics.