diff --git a/ga_app/templatetags/ga_mobile.py b/ga_app/templatetags/ga_mobile.py index f454acb..0d2de11 100644 --- a/ga_app/templatetags/ga_mobile.py +++ b/ga_app/templatetags/ga_mobile.py @@ -32,11 +32,11 @@ def ga_mobile(request): referer = quote_plus(request.META.get('HTTP_REFERER', '')) path = quote_plus(request.META.get('REQUEST_URI', '')) - src = 'http://' + host + ga_mobile_path + \ + src = 'http://' + host + str(ga_mobile_path) + \ "?utmac=" + ga_mobile_account + \ "&utmn=" + r + \ "&utmr=" + referer + \ "&utmp=" + path + \ "&guid=ON" - return '' % src \ No newline at end of file + return '' % src