Top Content with Google Analytics Data Export API (Python)

Our target was to obtain a list of the Top Content (articles with the most quantity of pageviews)

I tested some code and these were the two that matched my expectatives

Google Analytics API HTTP Sample Code [ga-api-http-samples]

Google Data APIs Python Client Library [gdata-python-client] uses for a very simple authentication method.

Then I Look through Common Queries. This was a good starting point for refining our query.

Some exploration on Dimension & Metric Reference and Filters

was needed to accomplish our goal.

First query tests where done on Data Feed Query Explorer

Puntuación: 5.00 / Votos: 2

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *