浏览代码

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"