Monitoring views of published Google Documents with Google Analytics

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.

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:

Screenshot: editing tab in Google Docs settings

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:

Publish Google Doc as web page

Next choose Publish document:

Screenshot: interface to start publishing a Google Doc

Limitations

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

You may also like...

4 Responses

  1. Gold Fish Gardener says:

    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

  2. Gavin Wray says:

    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.

  3. petergmauro says:

    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

  4. Gavin Wray says:

    Hi Peter – I’m afraid I don’t know. As mentioned at the top of the post:

    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.

    If anyone else does know how to do this, it’d be great to hear from you.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>