Doesn't look like you need a Divio Cloud account. Looks like it just needs some settings defined. Take a look at this part of that app;
google_analytics_id = getattr(settings, 'GOOGLE_ANALYTICS_ID', None)
use_universal_analytics = getattr(settings, 'GOOGLE_ANALYTICS_USE_UNIVERSAL', False)
track_individuals = getattr(settings, 'GOOGLE_ANALYTICS_TRACK_INDIVIDUALS', False)
From that, you can see it'll work if you provide your analytics ID as the following setting in your django settings file; GOOGLE_ANALYTICS_ID
You can also optionally enable the following two settings (True
or False
) to enable those features; GOOGLE_ANALYTICS_USE_UNIVERSAL
, GOOGLE_ANALYTICS_TRACK_INDIVIDUALS
Alternatively you could just drop the javascript from analytics in to your templates. Usually it's easy to just include it in a base.html
that gets inherited in to all pages.