Message ID | 20130813122832.5884.32294.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'google_analytics/templatetags/analytics.py' --- google_analytics/templatetags/analytics.py 2013-07-24 11:50:02 +0000 +++ google_analytics/templatetags/analytics.py 2013-08-12 14:28:57 +0000 @@ -46,7 +46,7 @@ t = loader.get_template('google_analytics/analytics_template.html') c = Context({ 'analytics_code': code, - 'domain': '.'.join(self.site.domain.split('.')[2:]) + 'domain': '.'.join(self.site.domain.split('.')[-2:]) }) return t.render(c) else: