trackhelper: add user-agent to analytics
This commit is contained in:
parent
47675b88f5
commit
2355ad8d74
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ def track_and_log(event_name, repo, **kwargs):
|
||||||
|
|
||||||
extra_params = {
|
extra_params = {
|
||||||
'repository': '%s/%s' % (namespace, repository),
|
'repository': '%s/%s' % (namespace, repository),
|
||||||
|
'user-agent': request.user_agent.string,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Publish the user event (if applicable)
|
# Publish the user event (if applicable)
|
||||||
|
|
Reference in a new issue