Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ga_app/templatetags/ga_mobile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<img src="%s" width="1" height="1">' % src
return '<img src="%s" width="1" height="1">' % src