Analytics Plugin for Confluence 1.2 released

analytics-plugin-icon-60pc Last week I released Analytics Plugin for Confluence 1.2 on the Atlassian Plugin Exchange.

It’s been 6 months since the initial release which was only tested on Confluence 3.0. This time I’ve added a new dashboard section, full support for Confluence 3.1 & 3.2 and a pile of macro parameters as requested by Guy Fraser. The release notes are here. Confluence 3.3 is just around the corner, so I’ll add an update for that when it comes out.

Thank you

The Confluence community has shown a great deal of support and encouragement since the plugin was originally released. For example, Atlassian blogged about it before I got a chance to. So thanks to all for your support.

The plugin was name checked by Sherif Mansour – Atlassian’s Product Manager for Confluence in the Confluence State of the Union presentation at Atlassian Summit 2010 at the start of the month. Watch it all, but concentrate especially around 5:10!

This week Google approved the plugin for their Google Analytics Application Gallerytake a look here. The Apps Gallery has only been going for about a month so I’m really excited about being a part of it. The slight name change and new logo were done to fit in with the Application Gallery Policy.

In the future

The next release should support Confluence 3.3 and also complete tracking of all pages in a space — not just those with a URL starting /display/spaceKey/ — based on this hack :

// Add a page-level custom variable to record the space-key
if (typeof jQuery('meta[name=confluence-space-key]').attr("content") == 'string')
    1, // This custom var is set to slot #1 of 5

    // The name acts as a kind of category for the user activity
    // This value of the custom variable
    3 // Sets the scope to page-level

— If you want to use this hack now, try out this custom Google Analytics report which will allow you to take advantage of it now.

I’d also like to add full space specific tracking for attachments too.

A quick demo

And finally, this is what the new version looks like:


Related Posts

David is a senior developer and solutions architect at AppFusions based in Nottingham, England.

AppFusions solves mixed-technology integration problems. We bring engineering and business workflows together, you can work better, faster and smoother.

AppFusions is headquartered in San Francisco, California and works with enterprise vendors and partners such as IBM, Jive, Egnyte, DropBox, Box and Atlassian.

  • Fran├žois

    This is a really nice plugin, thanks for it! I have filled a feature request to exclude the login page from the views. Quick question, if it’s just a matter of removing the tilde at the start of the ga:pagePath filter, can we fork the source and try it? Or am I overlooking other actions that would be filter out besides the login page?

    • David

      Fran├žois: Removing the login page seems a pretty obvious thing to do. I’ll roll it into the next release which should include support for Confluence 3.3 too — which was release yesterday.

  • Martijn Stegink

    Great plugin!! Too bad it does not work on Confluence 3.3.3 or 3.4. Any chance you will update it?

    • David

      Thanks. I’ll be looking into support for 3.3.3, 3.4, 3.5 and 4.0 (available in alpha now) very soon.

    • David

      I’ve updated it for Confluence 3.3.3 and 3.4. If you have any problems, please submit a JIRA detailing the problem.