Use the Google Analytics API with Django

Google Analytics is a powerful tool that gives you useful insight about the traffic that arrives in your website. But together with Django, you will be able to retrieve data of your Analytics account and display it to the user, on demand.

In this post you’ll learn how to put together Django, the oauth2 protocol and the Google Analytics API.

Read More!

Google+TwitterLinkedInFacebookReddit

Use the Google Analytics API with Python

Python and Google AnalyticsIn this post you will learn to create a Python script that allows users to enter its Google Analytics account and get information from there.

In order to do that, we will create a Project in the Google Developers Console and authorize it to use the Analytics API.

Next, we will use the Oauth 2.0 protocol to allow users to connect to their Analytics account through our Project.

And finally, we will retrieve the number of sessions of our view, segmented by traffic source.

Let’s start!

Read More!

Google+TwitterLinkedInFacebookReddit

Having fun with Google charts: double y-axes and more!

This is my first post about Google Charts, an amazing tool to create simple charts in your html files. It is free and really powerful, with a lot of options and easy to implement.

In this first post you’ll learn how to create a simple LineChart with three different data series. Two of them follow one y-axis, and the other one follows a second y-axis. I’ll show you how you can configure each of them separately, as well as other cool things 🙂 Keep reading!
Read More!

Google+TwitterLinkedInFacebookReddit