فهرست منبع

fix: mask path name

Weihua Lu 4 سال پیش
والد
کامیت
66faa6de4c
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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"