Add analytics code to track visitors

Web analytics show you a custom view of what's happening on your Docs site. It's helpful if you're wanting to track data such as page views, bounce rates, or the geographical location of your visitors. This article talks about adding an analytic tracking code to Docs.

Adding your tracking code

Sign in to your analytics account and locate your unique tracking code, then copy it to your clipboard. This bit of code is usually Javascript or non-Javascript. Next, head over to Manage → Docs, select a site, then click the Custom Code link in the sidebar. Paste the code into the Insert <head>Code text box, and save your settings! It will take a few minutes for the data to start appearing in your analytics control panel or dashboard.