From f9a5add01db939d95b1ecebf86139c3d0dbaa649 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 12 Jan 2022 22:12:48 +0100 Subject: [PATCH] root: include build in analytics Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 1d651ed2d..0d53962d8 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -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],