I have a number of pages about the Analytics API scattered around under various topics. I’ve decided to bring some of them together into their own topic, even though the platforms they are  targeting are different. Organizing by API topic rather than platform, seems a more logical way to do it, even though it’s an ongoing task to get that done. Here’s what I’ve found on the site so far.
Apps Script – How to track library and script usage
Motivation You've written a great Apps Script library and you want to know how many people are using it, and ...
Embedding Google Analytics in your VizMap application
What can you learn here? create analytics profileadd your accounttrack your usage javaScript: embedding Google AnalyticsGet it hereThis relates to Data ...
Extract the plus one counts from a page
When implementing Using the gplus api in Apps Script I noticed that there didn't seem to be an easy way ...
Instrumenting VBA for Google Analytics
It would be really interesting to be able to look at how people use things that you post. Google Analytics ...
Universal analytics measurement protocol for your GAS libraries
A little while ago, I did a an article on Instrumenting VBA for Google Analytics, which uses Universal Analytics to track ...

For more like this, see Google Apps Scripts snippets.