I have an open source book that is being published on my OnDemand instance, and I'm trying to figure out where I can configure Google Analytics. Does anyone know if this is even possible yet?
Hi Tim,
Unfortunately you cannot add Google Analytics to an OnDemand instance of Confluence because the configuration options that would allow you to embed the Google Analytics tracking code JS snippet are not available in OnDemand.
For the download version you would log in as an Confluence Administrator and select Browse -> Confluence Admin -> Look and Feel -> Custom HTML and edit the "At end of HEAD" section - similar to the instructions at http://confluence.atlassian.com/display/DOC/Adding+HTML+to+Allow+for+the+Extra+Height+of+a+Custom+Footer , but adding the Google Analytics code instead of the CSS in the linked example.
These configuration options are locked down in the OnDemand version of Confluence because Atlassian customize Confluence in order for it to work with OnDemand and allowing end users to edit layouts or include custom HTML/Javascript could break your OnDemand instance.
Sorry it's not better news.
Andrew.
Was going to suggest raising a ticket to ask if it was possible to put this feature on the roadmap for OnDemand, but it looks like it's already been raised and closed as "Won't Fix" - https://studio.atlassian.com/browse/JST-5674
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response Andrew. I wish I had known about this limitation ahead of time, but now that I'm here it's something I need to find a way to work around. What would be great is if Atlassian supported custom domains with a CNAME records. This way I could get around the Javascript limitation by just routing requests through Cloudflare.
I'm expecting Atlassian to eventually open up this platform to customization for HTML and Javascript once you figure out a good way to sandbox that sort of stuff. Any idea of the timeframe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify, I don't work for Atlassian so wouldn't know about about timescales for if or when Atlassian may relax some of the restrictions with OnDemand. It may be worth you asking the timescales question directly, either by raising a ticket via support@atlassian.com or posting a separate question here on Atlassian Answers.
Andrew.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1 for Google Analytics in On Demand.
Still no joy getting this little piece of JavaScript injected? It's pretty annoying to hit those little road blocks in On Demand every so often.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need to allow for custom HTML/JavaScript. Just allow the insertion of the Google Analytics site ID by the customer, and do the rest automatically (loading the Google Analytics JS with that site ID).
This is standard in tons of SaaS systems: it's a very small feature to add.
Please consider adding this feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To make things (slightly) more annoying is how in the OnDemand documentation located here:
https://confluence.atlassian.com/display/AOD/Developing+a+Knowledge+Base+on+Confluence+Wiki
there are instructions for how to enable Google Analytics tracking of your OnDemand Confluence instance. It appears these are just a straight copy of the instructions for the downloaded Confluence. No joy.
-wc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To make things (slightly) more annoying is how in the OnDemand documentation located here:
https://confluence.atlassian.com/display/AOD/Developing+a+Knowledge+Base+on+Confluence+Wiki
there are instructions for how to enable Google Analytics tracking of your OnDemand Confluence instance. It appears these are just a straight copy of the instructions for the downloaded Confluence. No joy.
-wc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a few years later but we've created an analytics add-on for Confluence Cloud that makes it easy to get an overview of activity and zoom in on the details like who has viewed a particular page.
You can find more information here: Analytics for Confluence Cloud
The add-on also includes an optional integration with Google Analytics, however the data sent to GA will only include what Confluence gives to us (i.e. it tracks page/blog views but doesn't specify information like browser, IP/location, time on page and referrer)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@tariq.ahmed: We've built an add-on to provide some usage analytics in Confluence Cloud. See my answer below for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or at least provide an equivalent usage analytics solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim -
As for the timeframe - please see this blog, where we talked about Plugins3 that is expected to be "officially" announced at AtlasCamp next week. (Get a ticket! :) )
As for rollouts beyond, well there is dev refactoring to support OnDemand stuff, and a slew of other things support requirements - but AppFusions is following closely. (This is our Google Analytics plugin.)
Realistically, I would expect Q1 best for everything to be sorted, if all goes well. There's alot to these integrations, especially with OnDemand, to not negatively rock the Atlassian OnDeman platform.
Alternatively - we can turnkey migrate you to a Hosted service, which is like the same 24x7 monitored Atlassian-skilled support you are used to, but also you can have any plugin on the marketplace.
If interested in a quote for this - or to learn more - contact me and happy to walk you through all the options.
Best,
Ellen
ellen@appfusions.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe my request https://answers.atlassian.com/questions/83094/how-can-i-embed-a-customer-satisfaction-survey-tool-into-my-ondemand-wiki has the same cause.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.