Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix(privacy): stop sending IP and derived geolocation to PostHog

Chaitanya Giri5197956542f0
diff --git a/TELEMETRY.md b/TELEMETRY.md
index 96e9aa74..8431a6c9 100644
--- a/TELEMETRY.md
+++ b/TELEMETRY.md
@@ -55,8 +55,9 @@ identifiers, or API keys. Nothing free-form — the property allowlist in
starts, so a build other than this one starting afterwards means something
else did the installing. Only that one-word result leaves the machine — no
line, path or message from that log is ever sent.
-- IP-based geolocation is used only to derive a country for aggregate stats;
- PostHog does not retain the IP on the event.
+- No geolocation of any kind is derived. The app sends `$ip: null` on every
+ event and disables the GeoIP lookup, so no IP address, country, city, postal
+ code or coordinate is derived from your connection or stored on the event.
## Opting out
diff --git a/blog/src/_includes/base.njk b/blog/src/_includes/base.njk
index 8e24eb9e..7a7e74ec 100644
--- a/blog/src/_includes/base.njk
+++ b/blog/src/_includes/base.njk
@@ -58,6 +58,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/404.html b/docs/blog/404.html
index 63325be6..4e62359f 100644
--- a/docs/blog/404.html
+++ b/docs/blog/404.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/about/index.html b/docs/blog/about/index.html
index e4b04ad4..40cdef32 100644
--- a/docs/blog/about/index.html
+++ b/docs/blog/about/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/agent-security-and-sandboxing/index.html b/docs/blog/agent-security-and-sandboxing/index.html
index 047fd1bb..07a0e4f2 100644
--- a/docs/blog/agent-security-and-sandboxing/index.html
+++ b/docs/blog/agent-security-and-sandboxing/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/agents-ran-our-launch-week-analytics/index.html b/docs/blog/agents-ran-our-launch-week-analytics/index.html
index 98981fa8..e6dda5d2 100644
--- a/docs/blog/agents-ran-our-launch-week-analytics/index.html
+++ b/docs/blog/agents-ran-our-launch-week-analytics/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/agents-rule-of-two/index.html b/docs/blog/agents-rule-of-two/index.html
index 21834784..667ef044 100644
--- a/docs/blog/agents-rule-of-two/index.html
+++ b/docs/blog/agents-rule-of-two/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/ai-agent-glossary/index.html b/docs/blog/ai-agent-glossary/index.html
index de9ffee2..78b0a6db 100644
--- a/docs/blog/ai-agent-glossary/index.html
+++ b/docs/blog/ai-agent-glossary/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/an-agent-redesigned-this-blog/index.html b/docs/blog/an-agent-redesigned-this-blog/index.html
index 498273a8..292dc36c 100644
--- a/docs/blog/an-agent-redesigned-this-blog/index.html
+++ b/docs/blog/an-agent-redesigned-this-blog/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/append-only-event-log-agents/index.html b/docs/blog/append-only-event-log-agents/index.html
index 88391f0b..e87a9d05 100644
--- a/docs/blog/append-only-event-log-agents/index.html
+++ b/docs/blog/append-only-event-log-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/architecture-two-planes-one-renderer/index.html b/docs/blog/architecture-two-planes-one-renderer/index.html
index fd80184a..94df1da5 100644
--- a/docs/blog/architecture-two-planes-one-renderer/index.html
+++ b/docs/blog/architecture-two-planes-one-renderer/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/atomic-file-mailboxes-for-agents/index.html b/docs/blog/atomic-file-mailboxes-for-agents/index.html
index 433bf8c5..2b7aba58 100644
--- a/docs/blog/atomic-file-mailboxes-for-agents/index.html
+++ b/docs/blog/atomic-file-mailboxes-for-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/best-ai-coding-agents/index.html b/docs/blog/best-ai-coding-agents/index.html
index 7198a37e..36814f6d 100644
--- a/docs/blog/best-ai-coding-agents/index.html
+++ b/docs/blog/best-ai-coding-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/best-claude-code-multi-agent-tools/index.html b/docs/blog/best-claude-code-multi-agent-tools/index.html
index b22da31e..8407f70e 100644
--- a/docs/blog/best-claude-code-multi-agent-tools/index.html
+++ b/docs/blog/best-claude-code-multi-agent-tools/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/building-a-terminal-ui-xterm-node-pty/index.html b/docs/blog/building-a-terminal-ui-xterm-node-pty/index.html
index b587919d..35107718 100644
--- a/docs/blog/building-a-terminal-ui-xterm-node-pty/index.html
+++ b/docs/blog/building-a-terminal-ui-xterm-node-pty/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/building-an-ai-office-floor/index.html b/docs/blog/building-an-ai-office-floor/index.html
index ff94eac0..b03d1541 100644
--- a/docs/blog/building-an-ai-office-floor/index.html
+++ b/docs/blog/building-an-ai-office-floor/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/building-reliable-ai-agents/index.html b/docs/blog/building-reliable-ai-agents/index.html
index 5d161af7..f3604cc1 100644
--- a/docs/blog/building-reliable-ai-agents/index.html
+++ b/docs/blog/building-reliable-ai-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/can-claude-code-agents-talk-to-each-other/index.html b/docs/blog/can-claude-code-agents-talk-to-each-other/index.html
index 5644835a..7abd1389 100644
--- a/docs/blog/can-claude-code-agents-talk-to-each-other/index.html
+++ b/docs/blog/can-claude-code-agents-talk-to-each-other/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-automation-while-you-sleep/index.html b/docs/blog/claude-code-automation-while-you-sleep/index.html
index 30c9aba5..7903aee7 100644
--- a/docs/blog/claude-code-automation-while-you-sleep/index.html
+++ b/docs/blog/claude-code-automation-while-you-sleep/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-git-worktrees-vs-hive/index.html b/docs/blog/claude-code-git-worktrees-vs-hive/index.html
index bbcf1f7a..383c758b 100644
--- a/docs/blog/claude-code-git-worktrees-vs-hive/index.html
+++ b/docs/blog/claude-code-git-worktrees-vs-hive/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-hooks-explained/index.html b/docs/blog/claude-code-hooks-explained/index.html
index c4b0d78c..b248196c 100644
--- a/docs/blog/claude-code-hooks-explained/index.html
+++ b/docs/blog/claude-code-hooks-explained/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-multi-agent-setup-tutorial/index.html b/docs/blog/claude-code-multi-agent-setup-tutorial/index.html
index 0cb6524a..baf27a3a 100644
--- a/docs/blog/claude-code-multi-agent-setup-tutorial/index.html
+++ b/docs/blog/claude-code-multi-agent-setup-tutorial/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-orchestration-guide/index.html b/docs/blog/claude-code-orchestration-guide/index.html
index a94c1088..386ca4cd 100644
--- a/docs/blog/claude-code-orchestration-guide/index.html
+++ b/docs/blog/claude-code-orchestration-guide/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-orchestration-tools-compared/index.html b/docs/blog/claude-code-orchestration-tools-compared/index.html
index ec5e612f..41958368 100644
--- a/docs/blog/claude-code-orchestration-tools-compared/index.html
+++ b/docs/blog/claude-code-orchestration-tools-compared/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html b/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html
index 90a0d847..c1bf19a9 100644
--- a/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html
+++ b/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-squad-alternative/index.html b/docs/blog/claude-squad-alternative/index.html
index e54f5a82..c0ddfce1 100644
--- a/docs/blog/claude-squad-alternative/index.html
+++ b/docs/blog/claude-squad-alternative/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/claude-squad-vs-munder-difflin/index.html b/docs/blog/claude-squad-vs-munder-difflin/index.html
index b2a32771..262205e2 100644
--- a/docs/blog/claude-squad-vs-munder-difflin/index.html
+++ b/docs/blog/claude-squad-vs-munder-difflin/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/cline-vs-munder-difflin/index.html b/docs/blog/cline-vs-munder-difflin/index.html
index c7baf7ce..807b47a9 100644
--- a/docs/blog/cline-vs-munder-difflin/index.html
+++ b/docs/blog/cline-vs-munder-difflin/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/command-center-guide/index.html b/docs/blog/command-center-guide/index.html
index ba685046..3e74c8e1 100644
--- a/docs/blog/command-center-guide/index.html
+++ b/docs/blog/command-center-guide/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/compressing-agent-memory/index.html b/docs/blog/compressing-agent-memory/index.html
index e6227db6..23d75e05 100644
--- a/docs/blog/compressing-agent-memory/index.html
+++ b/docs/blog/compressing-agent-memory/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/conductor-claude-code-alternative/index.html b/docs/blog/conductor-claude-code-alternative/index.html
index f1d51cbc..564bf37c 100644
--- a/docs/blog/conductor-claude-code-alternative/index.html
+++ b/docs/blog/conductor-claude-code-alternative/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/context-engineering-for-ai-agents/index.html b/docs/blog/context-engineering-for-ai-agents/index.html
index 14365583..d93b4a93 100644
--- a/docs/blog/context-engineering-for-ai-agents/index.html
+++ b/docs/blog/context-engineering-for-ai-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/coordinating-ai-coding-agents/index.html b/docs/blog/coordinating-ai-coding-agents/index.html
index e26ebae4..493432ad 100644
--- a/docs/blog/coordinating-ai-coding-agents/index.html
+++ b/docs/blog/coordinating-ai-coding-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/crewai-autogen-vs-a-local-agent-harness/index.html b/docs/blog/crewai-autogen-vs-a-local-agent-harness/index.html
index cfed4eb7..0b277dda 100644
--- a/docs/blog/crewai-autogen-vs-a-local-agent-harness/index.html
+++ b/docs/blog/crewai-autogen-vs-a-local-agent-harness/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/crystal-claude-code-alternative/index.html b/docs/blog/crystal-claude-code-alternative/index.html
index f66c3d90..ca3c6d2d 100644
--- a/docs/blog/crystal-claude-code-alternative/index.html
+++ b/docs/blog/crystal-claude-code-alternative/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/debugging-multi-agent-systems/index.html b/docs/blog/debugging-multi-agent-systems/index.html
index 7d020d5c..34784601 100644
--- a/docs/blog/debugging-multi-agent-systems/index.html
+++ b/docs/blog/debugging-multi-agent-systems/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/deploy-a-blog-writer-agent/index.html b/docs/blog/deploy-a-blog-writer-agent/index.html
index c3e6f9b8..dc020b80 100644
--- a/docs/blog/deploy-a-blog-writer-agent/index.html
+++ b/docs/blog/deploy-a-blog-writer-agent/index.html
@@ -105,6 +105,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/deploy-automated-pr-reviewer-agent/index.html b/docs/blog/deploy-automated-pr-reviewer-agent/index.html
index 9e5eb157..9dc67155 100644
--- a/docs/blog/deploy-automated-pr-reviewer-agent/index.html
+++ b/docs/blog/deploy-automated-pr-reviewer-agent/index.html
@@ -105,6 +105,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/do-more-with-less-model-routing/index.html b/docs/blog/do-more-with-less-model-routing/index.html
index 13376ae3..1b1b8ba2 100644
--- a/docs/blog/do-more-with-less-model-routing/index.html
+++ b/docs/blog/do-more-with-less-model-routing/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html b/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html
index e65339d8..911c14d4 100644
--- a/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html
+++ b/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/evaluating-ai-agent-reliability/index.html b/docs/blog/evaluating-ai-agent-reliability/index.html
index 4b36868d..9ac1c2d1 100644
--- a/docs/blog/evaluating-ai-agent-reliability/index.html
+++ b/docs/blog/evaluating-ai-agent-reliability/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/file-based-coordination-vs-message-queues/index.html b/docs/blog/file-based-coordination-vs-message-queues/index.html
index 91443adc..d1f881b1 100644
--- a/docs/blog/file-based-coordination-vs-message-queues/index.html
+++ b/docs/blog/file-based-coordination-vs-message-queues/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/from-one-terminal-to-a-team/index.html b/docs/blog/from-one-terminal-to-a-team/index.html
index 25b84bb1..cd044f35 100644
--- a/docs/blog/from-one-terminal-to-a-team/index.html
+++ b/docs/blog/from-one-terminal-to-a-team/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/generative-engine-optimization-techniques/index.html b/docs/blog/generative-engine-optimization-techniques/index.html
index a30237b6..0c365949 100644
--- a/docs/blog/generative-engine-optimization-techniques/index.html
+++ b/docs/blog/generative-engine-optimization-techniques/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/github-copilot-cli-vs-claude-code-for-hive-work/index.html b/docs/blog/github-copilot-cli-vs-claude-code-for-hive-work/index.html
index 08eab63d..a20ff42c 100644
--- a/docs/blog/github-copilot-cli-vs-claude-code-for-hive-work/index.html
+++ b/docs/blog/github-copilot-cli-vs-claude-code-for-hive-work/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/give-claude-code-long-term-memory/index.html b/docs/blog/give-claude-code-long-term-memory/index.html
index b934c3ce..95b855ed 100644
--- a/docs/blog/give-claude-code-long-term-memory/index.html
+++ b/docs/blog/give-claude-code-long-term-memory/index.html
@@ -89,6 +89,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/hire-manifest-untrusted-input/index.html b/docs/blog/hire-manifest-untrusted-input/index.html
index 2999a4f1..f054ed7f 100644
--- a/docs/blog/hire-manifest-untrusted-input/index.html
+++ b/docs/blog/hire-manifest-untrusted-input/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-agents-remember-semantic-memory/index.html b/docs/blog/how-agents-remember-semantic-memory/index.html
index 3fd16194..b119be23 100644
--- a/docs/blog/how-agents-remember-semantic-memory/index.html
+++ b/docs/blog/how-agents-remember-semantic-memory/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-ai-agents-verify-their-own-work/index.html b/docs/blog/how-ai-agents-verify-their-own-work/index.html
index db9a7b30..7122d601 100644
--- a/docs/blog/how-ai-agents-verify-their-own-work/index.html
+++ b/docs/blog/how-ai-agents-verify-their-own-work/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-ai-answer-engines-choose-sources/index.html b/docs/blog/how-ai-answer-engines-choose-sources/index.html
index 3f1cf8ec..771995a9 100644
--- a/docs/blog/how-ai-answer-engines-choose-sources/index.html
+++ b/docs/blog/how-ai-answer-engines-choose-sources/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-the-god-orchestrator-works/index.html b/docs/blog/how-the-god-orchestrator-works/index.html
index ad22903b..3dac036d 100644
--- a/docs/blog/how-the-god-orchestrator-works/index.html
+++ b/docs/blog/how-the-god-orchestrator-works/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html b/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html
index d1793c59..c541c1b2 100644
--- a/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html
+++ b/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-choose-a-multi-agent-tool/index.html b/docs/blog/how-to-choose-a-multi-agent-tool/index.html
index bf8e049e..b638a07e 100644
--- a/docs/blog/how-to-choose-a-multi-agent-tool/index.html
+++ b/docs/blog/how-to-choose-a-multi-agent-tool/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-hire-from-the-agent-gallery/index.html b/docs/blog/how-to-hire-from-the-agent-gallery/index.html
index aead78b3..1bed249f 100644
--- a/docs/blog/how-to-hire-from-the-agent-gallery/index.html
+++ b/docs/blog/how-to-hire-from-the-agent-gallery/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-install-and-use-munder-difflin/index.html b/docs/blog/how-to-install-and-use-munder-difflin/index.html
index bb15000d..06ec0e25 100644
--- a/docs/blog/how-to-install-and-use-munder-difflin/index.html
+++ b/docs/blog/how-to-install-and-use-munder-difflin/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-run-multiple-claude-code-agents/index.html b/docs/blog/how-to-run-multiple-claude-code-agents/index.html
index a6438bac..a32052ca 100644
--- a/docs/blog/how-to-run-multiple-claude-code-agents/index.html
+++ b/docs/blog/how-to-run-multiple-claude-code-agents/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-talk-to-your-orchestrator/index.html b/docs/blog/how-to-talk-to-your-orchestrator/index.html
index a0ff0dec..cb88bd8e 100644
--- a/docs/blog/how-to-talk-to-your-orchestrator/index.html
+++ b/docs/blog/how-to-talk-to-your-orchestrator/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/how-to-use-the-built-in-monaco-ide/index.html b/docs/blog/how-to-use-the-built-in-monaco-ide/index.html
index 367f42bd..7d9589c6 100644
--- a/docs/blog/how-to-use-the-built-in-monaco-ide/index.html
+++ b/docs/blog/how-to-use-the-built-in-monaco-ide/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/human-in-the-loop-ai-agents/index.html b/docs/blog/human-in-the-loop-ai-agents/index.html
index 0363df42..f1e45757 100644
--- a/docs/blog/human-in-the-loop-ai-agents/index.html
+++ b/docs/blog/human-in-the-loop-ai-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/human-in-the-loop-approving-ai-agents/index.html b/docs/blog/human-in-the-loop-approving-ai-agents/index.html
index 8ca2da97..f408a635 100644
--- a/docs/blog/human-in-the-loop-approving-ai-agents/index.html
+++ b/docs/blog/human-in-the-loop-approving-ai-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/index.html b/docs/blog/index.html
index 960176f4..bce1b17a 100644
--- a/docs/blog/index.html
+++ b/docs/blog/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/keep-agent-semantic-memory-clean/index.html b/docs/blog/keep-agent-semantic-memory-clean/index.html
index 15666128..9805bfb0 100644
--- a/docs/blog/keep-agent-semantic-memory-clean/index.html
+++ b/docs/blog/keep-agent-semantic-memory-clean/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-2-0/index.html b/docs/blog/launching-munder-difflin-v0-2-0/index.html
index c6e735d1..4ae52235 100644
--- a/docs/blog/launching-munder-difflin-v0-2-0/index.html
+++ b/docs/blog/launching-munder-difflin-v0-2-0/index.html
@@ -105,6 +105,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-2-4/index.html b/docs/blog/launching-munder-difflin-v0-2-4/index.html
index 560e6138..0e7cc76b 100644
--- a/docs/blog/launching-munder-difflin-v0-2-4/index.html
+++ b/docs/blog/launching-munder-difflin-v0-2-4/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-2-8/index.html b/docs/blog/launching-munder-difflin-v0-2-8/index.html
index 1684175d..947db275 100644
--- a/docs/blog/launching-munder-difflin-v0-2-8/index.html
+++ b/docs/blog/launching-munder-difflin-v0-2-8/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-3-0/index.html b/docs/blog/launching-munder-difflin-v0-3-0/index.html
index 26e7c351..fbf90928 100644
--- a/docs/blog/launching-munder-difflin-v0-3-0/index.html
+++ b/docs/blog/launching-munder-difflin-v0-3-0/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-3-2/index.html b/docs/blog/launching-munder-difflin-v0-3-2/index.html
index ef177018..4227e711 100644
--- a/docs/blog/launching-munder-difflin-v0-3-2/index.html
+++ b/docs/blog/launching-munder-difflin-v0-3-2/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-3-3/index.html b/docs/blog/launching-munder-difflin-v0-3-3/index.html
index 8dcb2e14..09a64dc8 100644
--- a/docs/blog/launching-munder-difflin-v0-3-3/index.html
+++ b/docs/blog/launching-munder-difflin-v0-3-3/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-3-5/index.html b/docs/blog/launching-munder-difflin-v0-3-5/index.html
index d837eab3..14a69296 100644
--- a/docs/blog/launching-munder-difflin-v0-3-5/index.html
+++ b/docs/blog/launching-munder-difflin-v0-3-5/index.html
@@ -108,6 +108,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/launching-munder-difflin-v0-4-4/index.html b/docs/blog/launching-munder-difflin-v0-4-4/index.html
index 003ede9b..a81ef0ce 100644
--- a/docs/blog/launching-munder-difflin-v0-4-4/index.html
+++ b/docs/blog/launching-munder-difflin-v0-4-4/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/local-first-ai-agent-orchestration/index.html b/docs/blog/local-first-ai-agent-orchestration/index.html
index a365e13d..9894ded4 100644
--- a/docs/blog/local-first-ai-agent-orchestration/index.html
+++ b/docs/blog/local-first-ai-agent-orchestration/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/local-first-vs-cloud-agent-sdks/index.html b/docs/blog/local-first-vs-cloud-agent-sdks/index.html
index a5132e5d..98cad8be 100644
--- a/docs/blog/local-first-vs-cloud-agent-sdks/index.html
+++ b/docs/blog/local-first-vs-cloud-agent-sdks/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/long-running-agents-the-2026-shift/index.html b/docs/blog/long-running-agents-the-2026-shift/index.html
index d19ccb85..57a8a438 100644
--- a/docs/blog/long-running-agents-the-2026-shift/index.html
+++ b/docs/blog/long-running-agents-the-2026-shift/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/loop-engineering-for-ai-agents/index.html b/docs/blog/loop-engineering-for-ai-agents/index.html
index ed7933e0..b63ebd42 100644
--- a/docs/blog/loop-engineering-for-ai-agents/index.html
+++ b/docs/blog/loop-engineering-for-ai-agents/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/manage-multiple-claude-code-sessions/index.html b/docs/blog/manage-multiple-claude-code-sessions/index.html
index b5772c20..9c2044f5 100644
--- a/docs/blog/manage-multiple-claude-code-sessions/index.html
+++ b/docs/blog/manage-multiple-claude-code-sessions/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/markdown-first-agent-memory/index.html b/docs/blog/markdown-first-agent-memory/index.html
index ffe96c47..49f44a62 100644
--- a/docs/blog/markdown-first-agent-memory/index.html
+++ b/docs/blog/markdown-first-agent-memory/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/mcp-and-skills-in-a-hive/index.html b/docs/blog/mcp-and-skills-in-a-hive/index.html
index 544379e9..7af3e8c0 100644
--- a/docs/blog/mcp-and-skills-in-a-hive/index.html
+++ b/docs/blog/mcp-and-skills-in-a-hive/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/mcp-security-tool-poisoning/index.html b/docs/blog/mcp-security-tool-poisoning/index.html
index 21c1ef6b..823d8a4b 100644
--- a/docs/blog/mcp-security-tool-poisoning/index.html
+++ b/docs/blog/mcp-security-tool-poisoning/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/multi-agent-orchestration-patterns/index.html b/docs/blog/multi-agent-orchestration-patterns/index.html
index d0f219a1..8087b529 100644
--- a/docs/blog/multi-agent-orchestration-patterns/index.html
+++ b/docs/blog/multi-agent-orchestration-patterns/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/munder-difflin-faq/index.html b/docs/blog/munder-difflin-faq/index.html
index c210556b..e672e49a 100644
--- a/docs/blog/munder-difflin-faq/index.html
+++ b/docs/blog/munder-difflin-faq/index.html
@@ -114,6 +114,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html b/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html
index 1f717e77..88d07e03 100644
--- a/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html
+++ b/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html
@@ -106,6 +106,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/node-pty-electron-real-terminals/index.html b/docs/blog/node-pty-electron-real-terminals/index.html
index 363d87c5..41598660 100644
--- a/docs/blog/node-pty-electron-real-terminals/index.html
+++ b/docs/blog/node-pty-electron-real-terminals/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/number-five-on-product-hunt/index.html b/docs/blog/number-five-on-product-hunt/index.html
index 935b14bc..601fff0e 100644
--- a/docs/blog/number-five-on-product-hunt/index.html
+++ b/docs/blog/number-five-on-product-hunt/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/observability-for-agent-fleets/index.html b/docs/blog/observability-for-agent-fleets/index.html
index cfb671de..f9310097 100644
--- a/docs/blog/observability-for-agent-fleets/index.html
+++ b/docs/blog/observability-for-agent-fleets/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/one-prompt-automated-pr-review/index.html b/docs/blog/one-prompt-automated-pr-review/index.html
index 9d290afa..837defe5 100644
--- a/docs/blog/one-prompt-automated-pr-review/index.html
+++ b/docs/blog/one-prompt-automated-pr-review/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/open-source-ai-tools-on-purpose/index.html b/docs/blog/open-source-ai-tools-on-purpose/index.html
index a35842ec..036ddd98 100644
--- a/docs/blog/open-source-ai-tools-on-purpose/index.html
+++ b/docs/blog/open-source-ai-tools-on-purpose/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/orca-vs-munder-difflin/index.html b/docs/blog/orca-vs-munder-difflin/index.html
index acaf0647..9deaf81d 100644
--- a/docs/blog/orca-vs-munder-difflin/index.html
+++ b/docs/blog/orca-vs-munder-difflin/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/overnight-ai-coding-realistic-expectations/index.html b/docs/blog/overnight-ai-coding-realistic-expectations/index.html
index 97671eff..b32dff4c 100644
--- a/docs/blog/overnight-ai-coding-realistic-expectations/index.html
+++ b/docs/blog/overnight-ai-coding-realistic-expectations/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/prompt-caching-for-ai-agents/index.html b/docs/blog/prompt-caching-for-ai-agents/index.html
index 27af9488..c26ceb5e 100644
--- a/docs/blog/prompt-caching-for-ai-agents/index.html
+++ b/docs/blog/prompt-caching-for-ai-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/qm-vs-munder-difflin/index.html b/docs/blog/qm-vs-munder-difflin/index.html
index 06fe1f6c..3db42395 100644
--- a/docs/blog/qm-vs-munder-difflin/index.html
+++ b/docs/blog/qm-vs-munder-difflin/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/recovering-from-agent-failures/index.html b/docs/blog/recovering-from-agent-failures/index.html
index 0c9f4771..65da1760 100644
--- a/docs/blog/recovering-from-agent-failures/index.html
+++ b/docs/blog/recovering-from-agent-failures/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/rendering-many-live-terminals-performance/index.html b/docs/blog/rendering-many-live-terminals-performance/index.html
index 12dfdf0f..723bf0c7 100644
--- a/docs/blog/rendering-many-live-terminals-performance/index.html
+++ b/docs/blog/rendering-many-live-terminals-performance/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/review-agent-work-where-it-happens/index.html b/docs/blog/review-agent-work-where-it-happens/index.html
index b7401973..718769a6 100644
--- a/docs/blog/review-agent-work-where-it-happens/index.html
+++ b/docs/blog/review-agent-work-where-it-happens/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-a-mixed-engine-office/index.html b/docs/blog/run-a-mixed-engine-office/index.html
index 18fdf544..341674d8 100644
--- a/docs/blog/run-a-mixed-engine-office/index.html
+++ b/docs/blog/run-a-mixed-engine-office/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-a-release-train-with-agents/index.html b/docs/blog/run-a-release-train-with-agents/index.html
index ae0b8406..7ed61c2a 100644
--- a/docs/blog/run-a-release-train-with-agents/index.html
+++ b/docs/blog/run-a-release-train-with-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-ai-agent-hive-from-slack-setup/index.html b/docs/blog/run-ai-agent-hive-from-slack-setup/index.html
index 53ef1463..64825e2c 100644
--- a/docs/blog/run-ai-agent-hive-from-slack-setup/index.html
+++ b/docs/blog/run-ai-agent-hive-from-slack-setup/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-an-office-of-ai-agents/index.html b/docs/blog/run-an-office-of-ai-agents/index.html
index 0a7a5aba..627789a8 100644
--- a/docs/blog/run-an-office-of-ai-agents/index.html
+++ b/docs/blog/run-an-office-of-ai-agents/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-munder-difflin-on-a-mac-mini/index.html b/docs/blog/run-munder-difflin-on-a-mac-mini/index.html
index 9d0f1272..24b7e248 100644
--- a/docs/blog/run-munder-difflin-on-a-mac-mini/index.html
+++ b/docs/blog/run-munder-difflin-on-a-mac-mini/index.html
@@ -106,6 +106,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/run-munder-difflin-on-open-models/index.html b/docs/blog/run-munder-difflin-on-open-models/index.html
index eb9a8a6f..e0965a7d 100644
--- a/docs/blog/run-munder-difflin-on-open-models/index.html
+++ b/docs/blog/run-munder-difflin-on-open-models/index.html
@@ -105,6 +105,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/scheduling-autonomous-agent-missions/index.html b/docs/blog/scheduling-autonomous-agent-missions/index.html
index 24445f70..944e2971 100644
--- a/docs/blog/scheduling-autonomous-agent-missions/index.html
+++ b/docs/blog/scheduling-autonomous-agent-missions/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/security-for-ai-coding-agents/index.html b/docs/blog/security-for-ai-coding-agents/index.html
index 45e77e37..37150c34 100644
--- a/docs/blog/security-for-ai-coding-agents/index.html
+++ b/docs/blog/security-for-ai-coding-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/semantic-memory-for-ai-agents/index.html b/docs/blog/semantic-memory-for-ai-agents/index.html
index c03ba08c..65a1816d 100644
--- a/docs/blog/semantic-memory-for-ai-agents/index.html
+++ b/docs/blog/semantic-memory-for-ai-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/seven-releases-in-eight-days/index.html b/docs/blog/seven-releases-in-eight-days/index.html
index 9954a9b8..ec604bcc 100644
--- a/docs/blog/seven-releases-in-eight-days/index.html
+++ b/docs/blog/seven-releases-in-eight-days/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/shareable-agent-roles/index.html b/docs/blog/shareable-agent-roles/index.html
index 53955885..93a03797 100644
--- a/docs/blog/shareable-agent-roles/index.html
+++ b/docs/blog/shareable-agent-roles/index.html
@@ -106,6 +106,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/single-committer-git-pattern/index.html b/docs/blog/single-committer-git-pattern/index.html
index 449d4613..2673cb1b 100644
--- a/docs/blog/single-committer-git-pattern/index.html
+++ b/docs/blog/single-committer-git-pattern/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/small-team-ai-agents-playbook/index.html b/docs/blog/small-team-ai-agents-playbook/index.html
index caee594a..2f333246 100644
--- a/docs/blog/small-team-ai-agents-playbook/index.html
+++ b/docs/blog/small-team-ai-agents-playbook/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ade/index.html b/docs/blog/tags/ade/index.html
index 3b77607a..3a9fb314 100644
--- a/docs/blog/tags/ade/index.html
+++ b/docs/blog/tags/ade/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/aeo/index.html b/docs/blog/tags/aeo/index.html
index d486baf1..c64c2681 100644
--- a/docs/blog/tags/aeo/index.html
+++ b/docs/blog/tags/aeo/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/agent-design/index.html b/docs/blog/tags/agent-design/index.html
index fbf0265b..afb1fc5c 100644
--- a/docs/blog/tags/agent-design/index.html
+++ b/docs/blog/tags/agent-design/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/agentic-ai/index.html b/docs/blog/tags/agentic-ai/index.html
index de7be1fc..ca9f5e75 100644
--- a/docs/blog/tags/agentic-ai/index.html
+++ b/docs/blog/tags/agentic-ai/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ai-coding-agents/index.html b/docs/blog/tags/ai-coding-agents/index.html
index c8a79d17..0c450481 100644
--- a/docs/blog/tags/ai-coding-agents/index.html
+++ b/docs/blog/tags/ai-coding-agents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ai-search/index.html b/docs/blog/tags/ai-search/index.html
index 96c41ae7..4586fba0 100644
--- a/docs/blog/tags/ai-search/index.html
+++ b/docs/blog/tags/ai-search/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/architecture/index.html b/docs/blog/tags/architecture/index.html
index acf1675a..608f669a 100644
--- a/docs/blog/tags/architecture/index.html
+++ b/docs/blog/tags/architecture/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/autogen/index.html b/docs/blog/tags/autogen/index.html
index 21dc41a7..3f32ffaa 100644
--- a/docs/blog/tags/autogen/index.html
+++ b/docs/blog/tags/autogen/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/automation/index.html b/docs/blog/tags/automation/index.html
index b45e1ad4..817a6920 100644
--- a/docs/blog/tags/automation/index.html
+++ b/docs/blog/tags/automation/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/autonomous/index.html b/docs/blog/tags/autonomous/index.html
index 2bcb434b..6c987e82 100644
--- a/docs/blog/tags/autonomous/index.html
+++ b/docs/blog/tags/autonomous/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/autonomy/index.html b/docs/blog/tags/autonomy/index.html
index a6f557c7..af72c563 100644
--- a/docs/blog/tags/autonomy/index.html
+++ b/docs/blog/tags/autonomy/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/brand/index.html b/docs/blog/tags/brand/index.html
index d62e7829..c3f16b4f 100644
--- a/docs/blog/tags/brand/index.html
+++ b/docs/blog/tags/brand/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/byok/index.html b/docs/blog/tags/byok/index.html
index 284d3c16..7daee184 100644
--- a/docs/blog/tags/byok/index.html
+++ b/docs/blog/tags/byok/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/changelog/index.html b/docs/blog/tags/changelog/index.html
index 6a0c1c70..35701231 100644
--- a/docs/blog/tags/changelog/index.html
+++ b/docs/blog/tags/changelog/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/claude-code/index.html b/docs/blog/tags/claude-code/index.html
index 6de2634b..16cd8ce2 100644
--- a/docs/blog/tags/claude-code/index.html
+++ b/docs/blog/tags/claude-code/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/cli-agents/index.html b/docs/blog/tags/cli-agents/index.html
index 53786aa9..c55550af 100644
--- a/docs/blog/tags/cli-agents/index.html
+++ b/docs/blog/tags/cli-agents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/cline/index.html b/docs/blog/tags/cline/index.html
index 8b9dde6b..069ff4f3 100644
--- a/docs/blog/tags/cline/index.html
+++ b/docs/blog/tags/cline/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/cloud-agents/index.html b/docs/blog/tags/cloud-agents/index.html
index 3971e492..8a8c75a6 100644
--- a/docs/blog/tags/cloud-agents/index.html
+++ b/docs/blog/tags/cloud-agents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/code-review/index.html b/docs/blog/tags/code-review/index.html
index eb4e7204..2b3a189e 100644
--- a/docs/blog/tags/code-review/index.html
+++ b/docs/blog/tags/code-review/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/codex/index.html b/docs/blog/tags/codex/index.html
index d71b82a7..a9a2a7d2 100644
--- a/docs/blog/tags/codex/index.html
+++ b/docs/blog/tags/codex/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/coding-agents/index.html b/docs/blog/tags/coding-agents/index.html
index 02cfec4b..c5cd5366 100644
--- a/docs/blog/tags/coding-agents/index.html
+++ b/docs/blog/tags/coding-agents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/command-center/index.html b/docs/blog/tags/command-center/index.html
index 8f27d900..061ae8c3 100644
--- a/docs/blog/tags/command-center/index.html
+++ b/docs/blog/tags/command-center/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/command-injection/index.html b/docs/blog/tags/command-injection/index.html
index 8e2fee41..95d6120a 100644
--- a/docs/blog/tags/command-injection/index.html
+++ b/docs/blog/tags/command-injection/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/community/index.html b/docs/blog/tags/community/index.html
index aafa4180..f98d8ce6 100644
--- a/docs/blog/tags/community/index.html
+++ b/docs/blog/tags/community/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/comparisons/index.html b/docs/blog/tags/comparisons/index.html
index 9ceefc26..1310a263 100644
--- a/docs/blog/tags/comparisons/index.html
+++ b/docs/blog/tags/comparisons/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/concepts/index.html b/docs/blog/tags/concepts/index.html
index 00ef4234..81f79781 100644
--- a/docs/blog/tags/concepts/index.html
+++ b/docs/blog/tags/concepts/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/concurrency/index.html b/docs/blog/tags/concurrency/index.html
index 50d3526c..53d21b0e 100644
--- a/docs/blog/tags/concurrency/index.html
+++ b/docs/blog/tags/concurrency/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/content/index.html b/docs/blog/tags/content/index.html
index c32e5b9c..9ced47f6 100644
--- a/docs/blog/tags/content/index.html
+++ b/docs/blog/tags/content/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/context-engineering/index.html b/docs/blog/tags/context-engineering/index.html
index eb080849..d7ea5986 100644
--- a/docs/blog/tags/context-engineering/index.html
+++ b/docs/blog/tags/context-engineering/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/coordination/index.html b/docs/blog/tags/coordination/index.html
index a6748b6b..bac28edd 100644
--- a/docs/blog/tags/coordination/index.html
+++ b/docs/blog/tags/coordination/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/copilot-cli/index.html b/docs/blog/tags/copilot-cli/index.html
index 03dede93..3b9aa8b3 100644
--- a/docs/blog/tags/copilot-cli/index.html
+++ b/docs/blog/tags/copilot-cli/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/copilot/index.html b/docs/blog/tags/copilot/index.html
index 1af33204..818362ec 100644
--- a/docs/blog/tags/copilot/index.html
+++ b/docs/blog/tags/copilot/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/cost/index.html b/docs/blog/tags/cost/index.html
index d183cd20..809741c4 100644
--- a/docs/blog/tags/cost/index.html
+++ b/docs/blog/tags/cost/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/crewai/index.html b/docs/blog/tags/crewai/index.html
index 9289823a..fc4f2d44 100644
--- a/docs/blog/tags/crewai/index.html
+++ b/docs/blog/tags/crewai/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/debugging/index.html b/docs/blog/tags/debugging/index.html
index 0611bdeb..82ae70de 100644
--- a/docs/blog/tags/debugging/index.html
+++ b/docs/blog/tags/debugging/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/design/index.html b/docs/blog/tags/design/index.html
index b3289e2d..35b7d38e 100644
--- a/docs/blog/tags/design/index.html
+++ b/docs/blog/tags/design/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/devrel/index.html b/docs/blog/tags/devrel/index.html
index 98fa7afa..d0d3331c 100644
--- a/docs/blog/tags/devrel/index.html
+++ b/docs/blog/tags/devrel/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/discord/index.html b/docs/blog/tags/discord/index.html
index 9cb1216c..da6fe170 100644
--- a/docs/blog/tags/discord/index.html
+++ b/docs/blog/tags/discord/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/electron/index.html b/docs/blog/tags/electron/index.html
index fe473767..780bb0ee 100644
--- a/docs/blog/tags/electron/index.html
+++ b/docs/blog/tags/electron/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/eleventy/index.html b/docs/blog/tags/eleventy/index.html
index 2d2bac42..8ebfa438 100644
--- a/docs/blog/tags/eleventy/index.html
+++ b/docs/blog/tags/eleventy/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/engines/index.html b/docs/blog/tags/engines/index.html
index adc2b600..52e5d0e1 100644
--- a/docs/blog/tags/engines/index.html
+++ b/docs/blog/tags/engines/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/error-handling/index.html b/docs/blog/tags/error-handling/index.html
index 246c17c4..2380489c 100644
--- a/docs/blog/tags/error-handling/index.html
+++ b/docs/blog/tags/error-handling/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/evaluation/index.html b/docs/blog/tags/evaluation/index.html
index ae4f7552..a1f4ad2d 100644
--- a/docs/blog/tags/evaluation/index.html
+++ b/docs/blog/tags/evaluation/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/event-log/index.html b/docs/blog/tags/event-log/index.html
index 0ee5cea5..0cea7874 100644
--- a/docs/blog/tags/event-log/index.html
+++ b/docs/blog/tags/event-log/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/faq/index.html b/docs/blog/tags/faq/index.html
index 9f254884..6df3de84 100644
--- a/docs/blog/tags/faq/index.html
+++ b/docs/blog/tags/faq/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/feedback/index.html b/docs/blog/tags/feedback/index.html
index 46925802..84facfa7 100644
--- a/docs/blog/tags/feedback/index.html
+++ b/docs/blog/tags/feedback/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/game-dev/index.html b/docs/blog/tags/game-dev/index.html
index bcebd50f..39b7fed9 100644
--- a/docs/blog/tags/game-dev/index.html
+++ b/docs/blog/tags/game-dev/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/geo/index.html b/docs/blog/tags/geo/index.html
index 7ec212df..5ad768d0 100644
--- a/docs/blog/tags/geo/index.html
+++ b/docs/blog/tags/geo/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/getting-started/index.html b/docs/blog/tags/getting-started/index.html
index dd680de4..b1b6d28f 100644
--- a/docs/blog/tags/getting-started/index.html
+++ b/docs/blog/tags/getting-started/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/git-worktrees/index.html b/docs/blog/tags/git-worktrees/index.html
index b54536fd..fb786b48 100644
--- a/docs/blog/tags/git-worktrees/index.html
+++ b/docs/blog/tags/git-worktrees/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/git/index.html b/docs/blog/tags/git/index.html
index 9309d09d..371ca9cd 100644
--- a/docs/blog/tags/git/index.html
+++ b/docs/blog/tags/git/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/github-copilot/index.html b/docs/blog/tags/github-copilot/index.html
index 469f2ed3..94582b0f 100644
--- a/docs/blog/tags/github-copilot/index.html
+++ b/docs/blog/tags/github-copilot/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/github/index.html b/docs/blog/tags/github/index.html
index 4061514b..c3cdca0b 100644
--- a/docs/blog/tags/github/index.html
+++ b/docs/blog/tags/github/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/glossary/index.html b/docs/blog/tags/glossary/index.html
index dcac01d0..89e0d1bc 100644
--- a/docs/blog/tags/glossary/index.html
+++ b/docs/blog/tags/glossary/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/god/index.html b/docs/blog/tags/god/index.html
index 0e5ee881..390c0f1b 100644
--- a/docs/blog/tags/god/index.html
+++ b/docs/blog/tags/god/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/guardrails/index.html b/docs/blog/tags/guardrails/index.html
index 22eae21c..babc92bb 100644
--- a/docs/blog/tags/guardrails/index.html
+++ b/docs/blog/tags/guardrails/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/guides/index.html b/docs/blog/tags/guides/index.html
index eaa14d30..7e6b2454 100644
--- a/docs/blog/tags/guides/index.html
+++ b/docs/blog/tags/guides/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/harness-engineering/index.html b/docs/blog/tags/harness-engineering/index.html
index 17c5a6db..f7a6fc03 100644
--- a/docs/blog/tags/harness-engineering/index.html
+++ b/docs/blog/tags/harness-engineering/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/hitl/index.html b/docs/blog/tags/hitl/index.html
index 6f90cbc6..9b952c9a 100644
--- a/docs/blog/tags/hitl/index.html
+++ b/docs/blog/tags/hitl/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/hive/index.html b/docs/blog/tags/hive/index.html
index 4bdf0f53..6e4428b3 100644
--- a/docs/blog/tags/hive/index.html
+++ b/docs/blog/tags/hive/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/hooks/index.html b/docs/blog/tags/hooks/index.html
index deee7ae4..d8e53b4a 100644
--- a/docs/blog/tags/hooks/index.html
+++ b/docs/blog/tags/hooks/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/human-in-the-loop/index.html b/docs/blog/tags/human-in-the-loop/index.html
index 39c1212f..3a0e268a 100644
--- a/docs/blog/tags/human-in-the-loop/index.html
+++ b/docs/blog/tags/human-in-the-loop/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ide/index.html b/docs/blog/tags/ide/index.html
index 3b38ef14..9b1716fb 100644
--- a/docs/blog/tags/ide/index.html
+++ b/docs/blog/tags/ide/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/industry/index.html b/docs/blog/tags/industry/index.html
index ab0b773d..e6b2a4c5 100644
--- a/docs/blog/tags/industry/index.html
+++ b/docs/blog/tags/industry/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/internals/index.html b/docs/blog/tags/internals/index.html
index e6ad57cb..3418cf88 100644
--- a/docs/blog/tags/internals/index.html
+++ b/docs/blog/tags/internals/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/interoperability/index.html b/docs/blog/tags/interoperability/index.html
index 1934819d..360ce0a8 100644
--- a/docs/blog/tags/interoperability/index.html
+++ b/docs/blog/tags/interoperability/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/kanban/index.html b/docs/blog/tags/kanban/index.html
index 49ee1dbe..abdafc73 100644
--- a/docs/blog/tags/kanban/index.html
+++ b/docs/blog/tags/kanban/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/langgraph/index.html b/docs/blog/tags/langgraph/index.html
index 9c1926ea..d7eb0d7f 100644
--- a/docs/blog/tags/langgraph/index.html
+++ b/docs/blog/tags/langgraph/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/launch/index.html b/docs/blog/tags/launch/index.html
index 62e5780c..1d9a61db 100644
--- a/docs/blog/tags/launch/index.html
+++ b/docs/blog/tags/launch/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/lm-studio/index.html b/docs/blog/tags/lm-studio/index.html
index 6b054159..1825cc40 100644
--- a/docs/blog/tags/lm-studio/index.html
+++ b/docs/blog/tags/lm-studio/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/local-first/index.html b/docs/blog/tags/local-first/index.html
index 8902db9a..21168e78 100644
--- a/docs/blog/tags/local-first/index.html
+++ b/docs/blog/tags/local-first/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/long-running-agents/index.html b/docs/blog/tags/long-running-agents/index.html
index 340d82f8..6c86aef7 100644
--- a/docs/blog/tags/long-running-agents/index.html
+++ b/docs/blog/tags/long-running-agents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/mac-mini/index.html b/docs/blog/tags/mac-mini/index.html
index 660ec940..d272418a 100644
--- a/docs/blog/tags/mac-mini/index.html
+++ b/docs/blog/tags/mac-mini/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/markdown/index.html b/docs/blog/tags/markdown/index.html
index 8953d2cf..24cdf0da 100644
--- a/docs/blog/tags/markdown/index.html
+++ b/docs/blog/tags/markdown/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/mcp/index.html b/docs/blog/tags/mcp/index.html
index fe109476..60156df2 100644
--- a/docs/blog/tags/mcp/index.html
+++ b/docs/blog/tags/mcp/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/memory/index.html b/docs/blog/tags/memory/index.html
index e39cb971..62cc8f8e 100644
--- a/docs/blog/tags/memory/index.html
+++ b/docs/blog/tags/memory/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/mempalace/index.html b/docs/blog/tags/mempalace/index.html
index bc424703..93cfb9df 100644
--- a/docs/blog/tags/mempalace/index.html
+++ b/docs/blog/tags/mempalace/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/messaging/index.html b/docs/blog/tags/messaging/index.html
index 63566069..b2a73f8b 100644
--- a/docs/blog/tags/messaging/index.html
+++ b/docs/blog/tags/messaging/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/meta/index.html b/docs/blog/tags/meta/index.html
index a1fab975..f66170f9 100644
--- a/docs/blog/tags/meta/index.html
+++ b/docs/blog/tags/meta/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/model-routing/index.html b/docs/blog/tags/model-routing/index.html
index 78d8751d..a15117bf 100644
--- a/docs/blog/tags/model-routing/index.html
+++ b/docs/blog/tags/model-routing/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/monaco-ide/index.html b/docs/blog/tags/monaco-ide/index.html
index 351ba096..879ba247 100644
--- a/docs/blog/tags/monaco-ide/index.html
+++ b/docs/blog/tags/monaco-ide/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/multi-agent/index.html b/docs/blog/tags/multi-agent/index.html
index 07af42ac..fca6c236 100644
--- a/docs/blog/tags/multi-agent/index.html
+++ b/docs/blog/tags/multi-agent/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/munder-difflin/index.html b/docs/blog/tags/munder-difflin/index.html
index 229cf8a9..02d9bc7a 100644
--- a/docs/blog/tags/munder-difflin/index.html
+++ b/docs/blog/tags/munder-difflin/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/node-pty/index.html b/docs/blog/tags/node-pty/index.html
index 54c46a12..c75a2b9f 100644
--- a/docs/blog/tags/node-pty/index.html
+++ b/docs/blog/tags/node-pty/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/observability/index.html b/docs/blog/tags/observability/index.html
index 7f8f0d17..244cca27 100644
--- a/docs/blog/tags/observability/index.html
+++ b/docs/blog/tags/observability/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ollama/index.html b/docs/blog/tags/ollama/index.html
index ae557a48..199c0631 100644
--- a/docs/blog/tags/ollama/index.html
+++ b/docs/blog/tags/ollama/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/onboarding/index.html b/docs/blog/tags/onboarding/index.html
index c34c9eed..4dd173ce 100644
--- a/docs/blog/tags/onboarding/index.html
+++ b/docs/blog/tags/onboarding/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/open-source/index.html b/docs/blog/tags/open-source/index.html
index a7780eee..7fa2aa81 100644
--- a/docs/blog/tags/open-source/index.html
+++ b/docs/blog/tags/open-source/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/orca/index.html b/docs/blog/tags/orca/index.html
index 785c21c5..71c23129 100644
--- a/docs/blog/tags/orca/index.html
+++ b/docs/blog/tags/orca/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/orchestration/index.html b/docs/blog/tags/orchestration/index.html
index fa0942f6..fb497dbb 100644
--- a/docs/blog/tags/orchestration/index.html
+++ b/docs/blog/tags/orchestration/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/performance/index.html b/docs/blog/tags/performance/index.html
index 22f508d8..5d028757 100644
--- a/docs/blog/tags/performance/index.html
+++ b/docs/blog/tags/performance/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/pixijs/index.html b/docs/blog/tags/pixijs/index.html
index a9a54fc9..6a5b910a 100644
--- a/docs/blog/tags/pixijs/index.html
+++ b/docs/blog/tags/pixijs/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/postmortem/index.html b/docs/blog/tags/postmortem/index.html
index 7a3f4993..b6b3f43a 100644
--- a/docs/blog/tags/postmortem/index.html
+++ b/docs/blog/tags/postmortem/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/privacy/index.html b/docs/blog/tags/privacy/index.html
index 69969a3b..d6fa01fc 100644
--- a/docs/blog/tags/privacy/index.html
+++ b/docs/blog/tags/privacy/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/product-hunt/index.html b/docs/blog/tags/product-hunt/index.html
index f817e966..37909a21 100644
--- a/docs/blog/tags/product-hunt/index.html
+++ b/docs/blog/tags/product-hunt/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/product/index.html b/docs/blog/tags/product/index.html
index 7e4eb018..06623a5c 100644
--- a/docs/blog/tags/product/index.html
+++ b/docs/blog/tags/product/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/prompt-caching/index.html b/docs/blog/tags/prompt-caching/index.html
index c77b775b..dc047891 100644
--- a/docs/blog/tags/prompt-caching/index.html
+++ b/docs/blog/tags/prompt-caching/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/prompt-injection/index.html b/docs/blog/tags/prompt-injection/index.html
index 6ce3d477..4023b9ff 100644
--- a/docs/blog/tags/prompt-injection/index.html
+++ b/docs/blog/tags/prompt-injection/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/protocols/index.html b/docs/blog/tags/protocols/index.html
index 5380f97a..f53f973e 100644
--- a/docs/blog/tags/protocols/index.html
+++ b/docs/blog/tags/protocols/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/realtime/index.html b/docs/blog/tags/realtime/index.html
index 96023ec2..4719007a 100644
--- a/docs/blog/tags/realtime/index.html
+++ b/docs/blog/tags/realtime/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/reddit/index.html b/docs/blog/tags/reddit/index.html
index 71e36128..c69b6b9f 100644
--- a/docs/blog/tags/reddit/index.html
+++ b/docs/blog/tags/reddit/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/release/index.html b/docs/blog/tags/release/index.html
index 1192e244..a8f311bd 100644
--- a/docs/blog/tags/release/index.html
+++ b/docs/blog/tags/release/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/reliability/index.html b/docs/blog/tags/reliability/index.html
index fc518a51..9c49e507 100644
--- a/docs/blog/tags/reliability/index.html
+++ b/docs/blog/tags/reliability/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/research/index.html b/docs/blog/tags/research/index.html
index 422499d2..14463201 100644
--- a/docs/blog/tags/research/index.html
+++ b/docs/blog/tags/research/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/security/index.html b/docs/blog/tags/security/index.html
index 49bc6990..5716b714 100644
--- a/docs/blog/tags/security/index.html
+++ b/docs/blog/tags/security/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/seo/index.html b/docs/blog/tags/seo/index.html
index 833baf1b..904b181c 100644
--- a/docs/blog/tags/seo/index.html
+++ b/docs/blog/tags/seo/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/setup/index.html b/docs/blog/tags/setup/index.html
index f58a190f..21cb1dde 100644
--- a/docs/blog/tags/setup/index.html
+++ b/docs/blog/tags/setup/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/skills/index.html b/docs/blog/tags/skills/index.html
index d1b23714..000a8f97 100644
--- a/docs/blog/tags/skills/index.html
+++ b/docs/blog/tags/skills/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/slack/index.html b/docs/blog/tags/slack/index.html
index abeb023f..867f9587 100644
--- a/docs/blog/tags/slack/index.html
+++ b/docs/blog/tags/slack/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/ssrf/index.html b/docs/blog/tags/ssrf/index.html
index 243b04a1..155e0c4c 100644
--- a/docs/blog/tags/ssrf/index.html
+++ b/docs/blog/tags/ssrf/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/story/index.html b/docs/blog/tags/story/index.html
index d26765d1..e83d303c 100644
--- a/docs/blog/tags/story/index.html
+++ b/docs/blog/tags/story/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/subagents/index.html b/docs/blog/tags/subagents/index.html
index 1c9b61a4..d356633b 100644
--- a/docs/blog/tags/subagents/index.html
+++ b/docs/blog/tags/subagents/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/talk-mode/index.html b/docs/blog/tags/talk-mode/index.html
index c06b2675..2e4c2119 100644
--- a/docs/blog/tags/talk-mode/index.html
+++ b/docs/blog/tags/talk-mode/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/telemetry/index.html b/docs/blog/tags/telemetry/index.html
index 063a5de2..24520379 100644
--- a/docs/blog/tags/telemetry/index.html
+++ b/docs/blog/tags/telemetry/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/terminals/index.html b/docs/blog/tags/terminals/index.html
index c05a27bc..90deffcf 100644
--- a/docs/blog/tags/terminals/index.html
+++ b/docs/blog/tags/terminals/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/the-office/index.html b/docs/blog/tags/the-office/index.html
index 46020a47..715d4b59 100644
--- a/docs/blog/tags/the-office/index.html
+++ b/docs/blog/tags/the-office/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/tmux/index.html b/docs/blog/tags/tmux/index.html
index 1fb6a4cc..1ad9ba05 100644
--- a/docs/blog/tags/tmux/index.html
+++ b/docs/blog/tags/tmux/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/tooling-landscape/index.html b/docs/blog/tags/tooling-landscape/index.html
index df654082..46015b4c 100644
--- a/docs/blog/tags/tooling-landscape/index.html
+++ b/docs/blog/tags/tooling-landscape/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/tools/index.html b/docs/blog/tags/tools/index.html
index e9c0b5ec..f9397ec5 100644
--- a/docs/blog/tags/tools/index.html
+++ b/docs/blog/tags/tools/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/trends/index.html b/docs/blog/tags/trends/index.html
index d4636b06..e5acf831 100644
--- a/docs/blog/tags/trends/index.html
+++ b/docs/blog/tags/trends/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/trust/index.html b/docs/blog/tags/trust/index.html
index f4217eb6..2da7c4b4 100644
--- a/docs/blog/tags/trust/index.html
+++ b/docs/blog/tags/trust/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/tutorial/index.html b/docs/blog/tags/tutorial/index.html
index fc3c5606..473ccd48 100644
--- a/docs/blog/tags/tutorial/index.html
+++ b/docs/blog/tags/tutorial/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/use-cases/index.html b/docs/blog/tags/use-cases/index.html
index 3414b7d3..66f88be2 100644
--- a/docs/blog/tags/use-cases/index.html
+++ b/docs/blog/tags/use-cases/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/video/index.html b/docs/blog/tags/video/index.html
index 8f810d1c..d026cfde 100644
--- a/docs/blog/tags/video/index.html
+++ b/docs/blog/tags/video/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/visualization/index.html b/docs/blog/tags/visualization/index.html
index c8f45a74..746f0be1 100644
--- a/docs/blog/tags/visualization/index.html
+++ b/docs/blog/tags/visualization/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/voice/index.html b/docs/blog/tags/voice/index.html
index 6211423b..d4855aa8 100644
--- a/docs/blog/tags/voice/index.html
+++ b/docs/blog/tags/voice/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/webhooks/index.html b/docs/blog/tags/webhooks/index.html
index a196c7c3..843a04e3 100644
--- a/docs/blog/tags/webhooks/index.html
+++ b/docs/blog/tags/webhooks/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/windows/index.html b/docs/blog/tags/windows/index.html
index 44344919..e1e61a5e 100644
--- a/docs/blog/tags/windows/index.html
+++ b/docs/blog/tags/windows/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/workflow/index.html b/docs/blog/tags/workflow/index.html
index bd79bc6c..7e5d1c8a 100644
--- a/docs/blog/tags/workflow/index.html
+++ b/docs/blog/tags/workflow/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tags/xtermjs/index.html b/docs/blog/tags/xtermjs/index.html
index 72611b8d..4d587b65 100644
--- a/docs/blog/tags/xtermjs/index.html
+++ b/docs/blog/tags/xtermjs/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/index.html b/docs/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/index.html
index 038bef56..ddc61eae 100644
--- a/docs/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/index.html
+++ b/docs/blog/the-clone-army-trap-mixed-swarm-vs-identical-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-hook-shim-pattern/index.html b/docs/blog/the-hook-shim-pattern/index.html
index 400ff542..bceef9e7 100644
--- a/docs/blog/the-hook-shim-pattern/index.html
+++ b/docs/blog/the-hook-shim-pattern/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-lethal-trifecta-for-coding-agents/index.html b/docs/blog/the-lethal-trifecta-for-coding-agents/index.html
index 993bf72b..2e37bf3c 100644
--- a/docs/blog/the-lethal-trifecta-for-coding-agents/index.html
+++ b/docs/blog/the-lethal-trifecta-for-coding-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-multi-agent-cost-playbook/index.html b/docs/blog/the-multi-agent-cost-playbook/index.html
index c795c551..ea047e70 100644
--- a/docs/blog/the-multi-agent-cost-playbook/index.html
+++ b/docs/blog/the-multi-agent-cost-playbook/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-newline-that-silenced-windows-agents/index.html b/docs/blog/the-newline-that-silenced-windows-agents/index.html
index 7f32c3f3..17f548b8 100644
--- a/docs/blog/the-newline-that-silenced-windows-agents/index.html
+++ b/docs/blog/the-newline-that-silenced-windows-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-office-parody-behind-munder-difflin/index.html b/docs/blog/the-office-parody-behind-munder-difflin/index.html
index 20ce19b2..03dbca27 100644
--- a/docs/blog/the-office-parody-behind-munder-difflin/index.html
+++ b/docs/blog/the-office-parody-behind-munder-difflin/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/the-spend-counter-that-went-back-to-zero/index.html b/docs/blog/the-spend-counter-that-went-back-to-zero/index.html
index f98ac725..50b5da51 100644
--- a/docs/blog/the-spend-counter-that-went-back-to-zero/index.html
+++ b/docs/blog/the-spend-counter-that-went-back-to-zero/index.html
@@ -105,6 +105,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/tmux-and-scripts-vs-an-agent-harness/index.html b/docs/blog/tmux-and-scripts-vs-an-agent-harness/index.html
index 6e211166..5abdb7c3 100644
--- a/docs/blog/tmux-and-scripts-vs-an-agent-harness/index.html
+++ b/docs/blog/tmux-and-scripts-vs-an-agent-harness/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/comparisons/index.html b/docs/blog/topics/comparisons/index.html
index 6371c663..aab62428 100644
--- a/docs/blog/topics/comparisons/index.html
+++ b/docs/blog/topics/comparisons/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/concepts/index.html b/docs/blog/topics/concepts/index.html
index 6237991e..e3cf861e 100644
--- a/docs/blog/topics/concepts/index.html
+++ b/docs/blog/topics/concepts/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/guides/index.html b/docs/blog/topics/guides/index.html
index 837acf59..48e227c1 100644
--- a/docs/blog/topics/guides/index.html
+++ b/docs/blog/topics/guides/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/index.html b/docs/blog/topics/index.html
index 94a7e91a..797498e4 100644
--- a/docs/blog/topics/index.html
+++ b/docs/blog/topics/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/internals/index.html b/docs/blog/topics/internals/index.html
index 4c265d33..59c11078 100644
--- a/docs/blog/topics/internals/index.html
+++ b/docs/blog/topics/internals/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/memory/index.html b/docs/blog/topics/memory/index.html
index fa57ad7c..6525ac81 100644
--- a/docs/blog/topics/memory/index.html
+++ b/docs/blog/topics/memory/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/orchestration/index.html b/docs/blog/topics/orchestration/index.html
index 1bd0bcaa..9a4c33ba 100644
--- a/docs/blog/topics/orchestration/index.html
+++ b/docs/blog/topics/orchestration/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/story/index.html b/docs/blog/topics/story/index.html
index 6389135d..19bb5c94 100644
--- a/docs/blog/topics/story/index.html
+++ b/docs/blog/topics/story/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/topics/use-cases/index.html b/docs/blog/topics/use-cases/index.html
index f766c74b..9afe1201 100644
--- a/docs/blog/topics/use-cases/index.html
+++ b/docs/blog/topics/use-cases/index.html
@@ -49,6 +49,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/trigger-ai-agents-from-github-webhook/index.html b/docs/blog/trigger-ai-agents-from-github-webhook/index.html
index 4e07af9d..467b35ac 100644
--- a/docs/blog/trigger-ai-agents-from-github-webhook/index.html
+++ b/docs/blog/trigger-ai-agents-from-github-webhook/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/trigger-ai-agents-from-slack/index.html b/docs/blog/trigger-ai-agents-from-slack/index.html
index c3df3367..6e3c5073 100644
--- a/docs/blog/trigger-ai-agents-from-slack/index.html
+++ b/docs/blog/trigger-ai-agents-from-slack/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/turn-feedback-into-a-backlog-with-agents/index.html b/docs/blog/turn-feedback-into-a-backlog-with-agents/index.html
index c5783596..1a3d4bb8 100644
--- a/docs/blog/turn-feedback-into-a-backlog-with-agents/index.html
+++ b/docs/blog/turn-feedback-into-a-backlog-with-agents/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/vibe-kanban-alternative/index.html b/docs/blog/vibe-kanban-alternative/index.html
index d0065c48..7e45028c 100644
--- a/docs/blog/vibe-kanban-alternative/index.html
+++ b/docs/blog/vibe-kanban-alternative/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/visualizing-ai-agents-pixijs/index.html b/docs/blog/visualizing-ai-agents-pixijs/index.html
index 0b540a47..da3fb4e5 100644
--- a/docs/blog/visualizing-ai-agents-pixijs/index.html
+++ b/docs/blog/visualizing-ai-agents-pixijs/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/voice-as-a-control-plane-for-agent-fleets/index.html b/docs/blog/voice-as-a-control-plane-for-agent-fleets/index.html
index 60a333df..7b8147cf 100644
--- a/docs/blog/voice-as-a-control-plane-for-agent-fleets/index.html
+++ b/docs/blog/voice-as-a-control-plane-for-agent-fleets/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/we-opened-a-discord/index.html b/docs/blog/we-opened-a-discord/index.html
index 9e5a94e6..6a583e63 100644
--- a/docs/blog/we-opened-a-discord/index.html
+++ b/docs/blog/we-opened-a-discord/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-are-claude-code-agents/index.html b/docs/blog/what-are-claude-code-agents/index.html
index c49233c3..4735ae3e 100644
--- a/docs/blog/what-are-claude-code-agents/index.html
+++ b/docs/blog/what-are-claude-code-agents/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-is-a-multi-agent-harness/index.html b/docs/blog/what-is-a-multi-agent-harness/index.html
index 22bbc997..10f1656c 100644
--- a/docs/blog/what-is-a-multi-agent-harness/index.html
+++ b/docs/blog/what-is-a-multi-agent-harness/index.html
@@ -102,6 +102,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-is-aeo-for-dev-tools/index.html b/docs/blog/what-is-aeo-for-dev-tools/index.html
index 882a7988..348196bf 100644
--- a/docs/blog/what-is-aeo-for-dev-tools/index.html
+++ b/docs/blog/what-is-aeo-for-dev-tools/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-is-an-agent-development-environment/index.html b/docs/blog/what-is-an-agent-development-environment/index.html
index e4aac2b2..02afedb0 100644
--- a/docs/blog/what-is-an-agent-development-environment/index.html
+++ b/docs/blog/what-is-an-agent-development-environment/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-is-harness-engineering/index.html b/docs/blog/what-is-harness-engineering/index.html
index 663fb43f..f9ceb969 100644
--- a/docs/blog/what-is-harness-engineering/index.html
+++ b/docs/blog/what-is-harness-engineering/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/what-reddit-told-us-about-munder-difflin/index.html b/docs/blog/what-reddit-told-us-about-munder-difflin/index.html
index 0ba714b6..522c975a 100644
--- a/docs/blog/what-reddit-told-us-about-munder-difflin/index.html
+++ b/docs/blog/what-reddit-told-us-about-munder-difflin/index.html
@@ -104,6 +104,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/whats-new-in-agentic-ai-june-2026/index.html b/docs/blog/whats-new-in-agentic-ai-june-2026/index.html
index 0cf73f12..e4a8ebbb 100644
--- a/docs/blog/whats-new-in-agentic-ai-june-2026/index.html
+++ b/docs/blog/whats-new-in-agentic-ai-june-2026/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/whats-up-with-munder-difflin/index.html b/docs/blog/whats-up-with-munder-difflin/index.html
index 584d853a..74ea482a 100644
--- a/docs/blog/whats-up-with-munder-difflin/index.html
+++ b/docs/blog/whats-up-with-munder-difflin/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/when-do-agents-need-an-agent-protocol/index.html b/docs/blog/when-do-agents-need-an-agent-protocol/index.html
index 5b77b049..83b28daf 100644
--- a/docs/blog/when-do-agents-need-an-agent-protocol/index.html
+++ b/docs/blog/when-do-agents-need-an-agent-protocol/index.html
@@ -103,6 +103,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/why-cli-agents-are-powerful/index.html b/docs/blog/why-cli-agents-are-powerful/index.html
index d1ba5b5a..c5470b27 100644
--- a/docs/blog/why-cli-agents-are-powerful/index.html
+++ b/docs/blog/why-cli-agents-are-powerful/index.html
@@ -106,6 +106,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/why-local-first-matters-for-ai-agents/index.html b/docs/blog/why-local-first-matters-for-ai-agents/index.html
index b57804a0..378b3c52 100644
--- a/docs/blog/why-local-first-matters-for-ai-agents/index.html
+++ b/docs/blog/why-local-first-matters-for-ai-agents/index.html
@@ -102,6 +102,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/why-our-auto-update-never-ran/index.html b/docs/blog/why-our-auto-update-never-ran/index.html
index 1e62f97e..26c3a9d5 100644
--- a/docs/blog/why-our-auto-update-never-ran/index.html
+++ b/docs/blog/why-our-auto-update-never-ran/index.html
@@ -106,6 +106,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/why-we-built-munder-difflin/index.html b/docs/blog/why-we-built-munder-difflin/index.html
index 82e34474..ddad2569 100644
--- a/docs/blog/why-we-built-munder-difflin/index.html
+++ b/docs/blog/why-we-built-munder-difflin/index.html
@@ -90,6 +90,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/blog/your-first-hour-with-munder-difflin/index.html b/docs/blog/your-first-hour-with-munder-difflin/index.html
index 8f0d9977..abf74b25 100644
--- a/docs/blog/your-first-hour-with-munder-difflin/index.html
+++ b/docs/blog/your-first-hour-with-munder-difflin/index.html
@@ -107,6 +107,16 @@
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ },
disable_session_recording: true,
respect_dnt: true
});
diff --git a/docs/index.html b/docs/index.html
index 301a5b3c..47f51c07 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -3046,7 +3046,17 @@
person_profiles: 'never',
autocapture: false,
disable_session_recording: true,
- respect_dnt: true
+ respect_dnt: true,
+ before_send: function (event) {
+ // PostHog fills $ip from the connection unless the event carries one.
+ // Null it here and disable the GeoIP lookup so no IP, city, postal
+ // code or lat/long is ever derived or stored for this page view.
+ if (event && event.properties) {
+ event.properties.$ip = null;
+ event.properties.$geoip_disable = true;
+ }
+ return event;
+ }
});
document.addEventListener('click', function (ev) {
var a = ev.target && ev.target.closest ? ev.target.closest('a[data-download], a[download]') : null;
diff --git a/docs/privacy.html b/docs/privacy.html
index 58f8286f..55b6a696 100644
--- a/docs/privacy.html
+++ b/docs/privacy.html
@@ -231,7 +231,7 @@
<ul>
<li>Events go to <a href="https://posthog.com" target="_blank" rel="noopener">PostHog</a> with <code>$process_person_profile: false</code>, making them <strong>anonymous events</strong> — no person profile is created and no identity is stored.</li>
<li>The only identifier is a <strong>random UUID</strong> minted on first run and kept in the app's user-data directory as <code>telemetry-install-id</code>. It is not derived from your machine, and deleting the app's data deletes it.</li>
- <li>IP-based geolocation is used only to derive a country for aggregate statistics. PostHog does not retain the IP address on the event.</li>
+ <li>No geolocation of any kind is derived. Every event is sent with <code>$ip: null</code> and the GeoIP lookup disabled, so no IP address, country, city, postal code or coordinate is derived from your connection or stored on the event.</li>
</ul>
<h2 id="optout"><span class="num">04</span>How to opt out</h2>
diff --git a/src/main/analytics.ts b/src/main/analytics.ts
index 18431b9e..cdff599a 100644
--- a/src/main/analytics.ts
+++ b/src/main/analytics.ts
@@ -124,10 +124,11 @@ export class Analytics {
// loses at most the final session_ended, never a whole batch.
flushAt: 1,
flushInterval: 10_000,
- // posthog-node defaults GeoIP OFF (server lib); we re-enable it for
- // country-level numbers only — PostHog discards the IP after the
- // lookup and the event is anonymous either way (TELEMETRY.md).
- disableGeoip: false
+ // GeoIP stays OFF (posthog-node default). It was explicitly re-enabled
+ // here for country-level numbers, but nothing in this codebase ever read
+ // a country, and enabling it made PostHog derive city, postal code and
+ // lat/long as well — far past the country TELEMETRY.md describes.
+ disableGeoip: true
});
} catch (e) {
console.error('[analytics] init failed (telemetry disabled):', e);
@@ -172,7 +173,12 @@ export class Analytics {
if (!allowed) return;
const properties: Record<string, unknown> = {
...this.common,
- $process_person_profile: false // anonymous event — no person profile
+ $process_person_profile: false, // anonymous event — no person profile
+ // PostHog fills $ip from the connection ONLY when the event does not
+ // carry one, so sending it explicitly as null is the one client-side way
+ // to stop the IP being stored. Belt and braces with the project-level
+ // discard setting: this alone protects every event we send from here.
+ $ip: null
};
for (const [k, v] of Object.entries(props)) {
if (allowed.has(k) && typeof v === 'string') properties[k] = v;