Commit 4a5df10c authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Implements Python tracking api for redirects.

parent ebcaf99b
......@@ -37,7 +37,7 @@ def application(environ, start_response):
else:
if goconfig.piwik:
library.piwik_track( environ )
library.piwik_track( environ, "Redirect: '%s'" % short_url )
status = '303 See other'
response_headers = [('Location', target)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment