Skip to content
singhj edited this page Oct 16, 2010 · 10 revisions

Welcome to the Google-Analytics-for-Mobile--Google-App-Engine wiki!

Mobil applications often do not run JavaScript and Analytics information needs to be captured on the server side. We took a Python translation of the Google Analytics for Mobile Websites PHP code and adapted it for use with Google App Engine.

To use this code, integrate it into your Google App Engine (python) project and call track_page_view(path) to send the request to Google Analytics. Remember to replace the following lines as appropriate:

  • ACCOUNT = 'UA-1234567-1'
  • DOMAIN = 'example.com'

A reminder: Google Analytics can test your patience. Once the request has been sent, the tracked events may take several hours before it shows up in Analytics.

-- Contributed by Early Stage IT

Clone this wiki locally