09 Jan
2010
Updated 25th April 2012: since writing this post, it seems that Google removed the ability to use your Analytics id to track published Google Docs, which means this post probably isn’t much use to you now – Gavin.
Browsing this morning, I discovered that you can track views of your published Google Docs using your Google Analytics account.
A published Google Doc is one that you have chosen to openly share with anyone on the web.
To switch on tracking of your published Docs, go into your Google Docs account, choose Settings then the Editing tab.
Select the checkbox next to Use Google Analytics to track the number of visits to your published documents and paste in your Google Analytics tracking code (here’s the tip on how to find your tracking code):

Views of all documents published from this account will now appear in your Analytics reports.
How to publish a document
To publish a Google Doc, go to Share > Publish as a web page:

Next choose Publish document:

Limitations
Note that this feature currently tracks published documents only. At the time of writing, tracking isn’t available for spreadsheets or presentations.





Music on

Thanks for putting this information together. However I tried to follow your instructions and the analytics option appears to have been removed. Do you think that the analytics hyperlink could be buried somewhere on the page?
If you’d like to check out the page I’m trying to track here is the link to the google doc spreadshee. https://docs.google.com/spreadsheet/pub?key=0AnED_SNDwoVXdHMyTlZNZVZvTWR6anJZbFNEYWstT1E&output=html
Any help would be hugely appreciated!
Thanks,
Gold Fish Gardener
Thanks for the comment. I’ve had another look in my Google Docs settings and it appears that Google have removed this functionality. Others in the Google Docs Forum seem to have noticed that this functionality has disappeared.
Has anyone found a way to track views , or add the tracking code to a DOCS page?
I’m desperate , I use a DOCS page as my web site.
Peter
Hi Peter – I’m afraid I don’t know. As mentioned at the top of the post:
If anyone else does know how to do this, it’d be great to hear from you.