diff --git a/ckanext/googleanalytics/controller.py b/ckanext/googleanalytics/controller.py index 8562214..ae6e29b 100644 --- a/ckanext/googleanalytics/controller.py +++ b/ckanext/googleanalytics/controller.py @@ -20,7 +20,7 @@ class GAController(BaseController): def __str__(self): # XXX hack to provide consistent cache key; what's the # canonical way of doing caching like this in CKAN right now? - return "analyticscontroller" + return "analyticscontroller2" def get_top_packages(self): packages_data = self._get_ga_data() diff --git a/ckanext/googleanalytics/gasnippet.py b/ckanext/googleanalytics/gasnippet.py index 686bc1c..670a322 100644 --- a/ckanext/googleanalytics/gasnippet.py +++ b/ckanext/googleanalytics/gasnippet.py @@ -1,4 +1,4 @@ -gacode = """ +gacode = u"""