A generic Google Analytics gadget to track any page

A generic analytics gadget.

Following on from my last post on adding Google Analytics Codes to track usage of your gadget, it occurred to me that you could create a gadget whose sole purpose in life was to track usage of a particular page. This could be useful in cases where you dont have access to the source code, or when you want to easily track usage of a Google Document for example.

The solution turned out to be very simple, with a small adaptation from the information the previous post. I have added it to my iGoogle page, so i can now track my own usage and visits- I travel a lot so I can even track my own travels like this through Google Analytics.

Step by step instructions are here  along with the code and you can include the gadget from here


About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.