Using Google Analytics with Zen in an individual space - options?

In our case, placing the Google Analytics code in the Confluence administration console is not an option, as we have multiple spaces, each with their own brand, that are tracked as separate sites.

I have created user macros with the GA code for each of these sites and placed the macros in the headers.

The Zen Brand Designer includes a "specialty" option to add a GA tracking code in the brand. I am wondering if this is a better option, but cannot find any documentation on its use.

I have had reports that the GA tracking on sites with these user macros seems to not be recording new information - so I'm looking for better options.

1 answer

0 votes
David Simpson Community Champion Apr 10, 2014

When I last looked, Zen disabled the standard Confluence Admin | Look & Feel | Custom HTML | At the end of the HEAD functionality, but should still retain the At the end of the BODY. Try pasting the standard Google Analytics code there instead.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,011 views 5 6
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