I'm developing a site that has a REST API and I'd like to track the API usage using Google Analytics events. Is there a straightforward way to trigger GA events from Python that doesn't involve loading up an entire webbrowser
component just to send a javascript request?
This project called PyGA is much better. Unlike "Google-Analytics for Mobile" project on github it is well documentated and has rich API.