Commit 98b0fd28 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

If Piwik tracking is enabled, will ping the piwik tracking api.

parent 77ccd5cb
......@@ -36,7 +36,8 @@ def application(environ, start_response):
else:
## incorporate piwik python api thing HERE
if goconfig.piwik:
library.piwik_track( environ )
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