From e61ce634f3656874e2fce56c9fadceebfa853574 Mon Sep 17 00:00:00 2001 From: Marcel Wiessler Date: Mon, 26 Aug 2024 19:51:12 +0200 Subject: [PATCH] utm_content should be pathname --- documentation/.vuepress/components/sample.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/.vuepress/components/sample.vue b/documentation/.vuepress/components/sample.vue index 16422e534..d5900ad07 100644 --- a/documentation/.vuepress/components/sample.vue +++ b/documentation/.vuepress/components/sample.vue @@ -36,7 +36,7 @@ export default { url.searchParams.append("hideClose", ""); url.searchParams.append("utm_source", "needle_docs"); - url.searchParams.append("utm_content", currentUrl?.toString() || ""); + url.searchParams.append("utm_content", currentUrl?.pathname || ""); this.sanitizedUrl = url.toString(); } }