Browse Source

fix: mask path name

Weihua Lu 4 năm trước cách đây
mục cha
commit
66faa6de4c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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"