Browse Source

fix: mask path name

Weihua Lu 4 years ago
parent
commit
66faa6de4c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/modules/instrumentation/posthog.cljs

+ 2 - 1
src/main/frontend/modules/instrumentation/posthog.cljs

@@ -17,7 +17,8 @@
      :schema_ver 0
      ;; hack, did not find ways to hack data on-the-fly with posthog-js
      :$ip masked
-     :$current_url masked})))
+     :$current_url masked
+     :$pathname masked})))
 
 (def config
   {:api_host "https://app.posthog.com"