trackhelper: add user-agent to analytics

This commit is contained in:
Jimmy Zelinskie 2015-03-06 12:02:40 -05:00
parent 47675b88f5
commit 2355ad8d74

View file

@ -45,6 +45,7 @@ def track_and_log(event_name, repo, **kwargs):
extra_params = {
'repository': '%s/%s' % (namespace, repository),
'user-agent': request.user_agent.string,
}
# Publish the user event (if applicable)