vendredi 11 septembre 2015

How to get raw User Timings data using Google Analytics Core Reporting API

I'm using User Timings to measure how long something takes, by doing e.g. ga('send', 'timing', 'jQuery', 'Load Library', 20, 'Google CDN');

In Google Analytics web interface at Behavior > Site Speed > User Timings I can see both an average and an histogram (by clicking the tab Distribution).

Using the Analytics Core Reporting API I'm able to retrieve the average user timing by querying on the metric ga:avgUserTimingValue. I was wondering if it's possible to retrieve the histogram or the raw data itself. I'm specifically looking to create a box plot using the user timings data.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire