root: include build in analytics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2986b56389
commit
f9a5add01d
|
@ -437,7 +437,10 @@ if not CONFIG.y_bool("disable_startup_analytics", False):
|
|||
"domain": "authentik",
|
||||
"name": "pageview",
|
||||
"referrer": f"{__version__} ({build_hash})",
|
||||
"url": f"http://localhost/{env}?utm_source={__version__}&utm_medium={env}",
|
||||
"url": (
|
||||
f"http://localhost/{env}?utm_source={__version__}-"
|
||||
f"{build_hash}&utm_medium={env}"
|
||||
),
|
||||
},
|
||||
headers={
|
||||
"User-Agent": sha512(SECRET_KEY.encode("ascii")).hexdigest()[:16],
|
||||
|
|
Reference in a new issue