Hello Analytics API: PHP quickstart for web applications

This tutorial walks through the steps required to access a Google Analytics
account, query the Analytics APIs, handle the API responses, and output the
results. The Core Reporting API v3.0,
Management API v3.0, and OAuth2.0
are used in this tutorial.