How to enable page statistics on Google Analytics for a specific page?

Hi All,

Is there a documentation on how to enable page statistics on GA for a specific page? We have enabled google analytics and I would like to get metrics (page views and duration etc) on a specific page and email to a particular user group.

Note: I'm not looking for a paid solution. The videos out there are old or specific to paid solution.

Thanks in advance


3 answers

1 vote
David Simpson Community Champion May 26, 2014

Hey @Udhay Parerikkal, as you're not after a paid solution, the simple answer is to embed the Google Analytics code on the single page e.g. with a user macro or embed it with the html macro and then setup weekly reports in Google Anaytics like so:

If you're using Confluence OnDemand, you're out of luck - no HTML macro & no user macro

Thanks, but I'm unable to generate a metric report just for a specific page from confluence. Only then, I can set up the emailing option. So, the issue is not emailing but more about generating metrics for a specific page from confluence.



This is specific to confluence page, thanks

Hi Udhay,

This thread discusses a possible solution with html and javascript:

The answer was given by Giuliano Campos from Atlassian.

Hope this helps?!

Thanks for the quick reply, but I'm not sure if that answers my question. The code pasting is done and I see the overall metrics in GA. I'm looking to create a seperate report/view for just a specific page and send the metrics via email on a weekly basis. So, the work is mostly on GA and I don't see an example how to accomplish the same.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

44 views 1 1
View post

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