Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit ff16c9c

Browse files
authored
Remove all telemetry (#12324)
* Remove all telemetry * Fix webview tests after telemetry removal * Fix embedder tests after telemetry removal * Fix tests after telemetry removal
1 parent 3d37e05 commit ff16c9c

220 files changed

Lines changed: 395 additions & 7957 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/web-roo-code/.env.example

Lines changed: 0 additions & 11 deletions
This file was deleted.

apps/web-roo-code/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"lucide-react": "^0.563.0",
3232
"next": "^16.1.6",
3333
"next-themes": "^0.4.6",
34-
"posthog-js": "^1.336.4",
3534
"react": "^18.3.1",
3635
"react-cookie-consent": "^9.0.0",
3736
"react-dom": "^18.3.1",

apps/web-roo-code/src/app/blog/[slug]/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
} from "@/lib/blog"
2525
import { SEO } from "@/lib/seo"
2626
import { ogImageUrl } from "@/lib/og"
27-
import { BlogPostAnalytics } from "@/components/blog/BlogAnalytics"
2827
import { BlogContent } from "@/components/blog/BlogContent"
2928
import { BlogFAQ, type FAQItem } from "@/components/blog/BlogFAQ"
3029

@@ -241,8 +240,6 @@ export default async function BlogPostPage({ params }: Props) {
241240
/>
242241
)}
243242

244-
<BlogPostAnalytics post={post} />
245-
246243
<article className="container mx-auto px-4 py-12 sm:px-6 lg:px-8">
247244
<div className="mx-auto max-w-4xl">
248245
{/* Visual Breadcrumb Navigation */}

apps/web-roo-code/src/app/blog/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { Suspense } from "react"
1515
import { getPaginatedBlogPosts, getAllBlogPosts, getCuratedBlogPosts } from "@/lib/blog"
1616
import { SEO } from "@/lib/seo"
1717
import { ogImageUrl } from "@/lib/og"
18-
import { BlogIndexAnalytics } from "@/components/blog/BlogAnalytics"
1918
import { BlogPostList } from "@/components/blog/BlogPostList"
2019
import { BlogPagination } from "@/components/blog/BlogPagination"
2120

@@ -141,8 +140,6 @@ export default async function BlogIndexPage({ searchParams }: Props) {
141140
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
142141
/>
143142

144-
<BlogIndexAnalytics />
145-
146143
<div className="container mx-auto px-4 py-12 sm:px-6 lg:px-8">
147144
<div className="mx-auto max-w-4xl">
148145
<h1 className="text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl">Blog</h1>

apps/web-roo-code/src/app/blog/page/[page]/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import Script from "next/script"
1212
import { getPaginatedBlogPosts, getAllBlogPosts, POSTS_PER_PAGE } from "@/lib/blog"
1313
import { SEO } from "@/lib/seo"
1414
import { ogImageUrl } from "@/lib/og"
15-
import { BlogIndexAnalytics } from "@/components/blog/BlogAnalytics"
1615
import { BlogPostList } from "@/components/blog/BlogPostList"
1716
import { BlogPagination } from "@/components/blog/BlogPagination"
1817

@@ -149,8 +148,6 @@ export default async function BlogPaginatedPage({ params }: PageProps) {
149148
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
150149
/>
151150

152-
<BlogIndexAnalytics />
153-
154151
<div className="container mx-auto px-4 py-12 sm:px-6 lg:px-8">
155152
<div className="mx-auto max-w-4xl">
156153
<h1 className="text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl">{title}</h1>

apps/web-roo-code/src/app/legal/cookies/page.tsx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function CookiePolicy() {
9090
</td>
9191
</tr>
9292
<tr className="bg-muted/25">
93-
<td className="border border-border px-4 py-3 font-medium">PostHog</td>
93+
<td className="border border-border px-4 py-3 font-medium">Analytics</td>
9494
<td className="border border-border px-4 py-3">
9595
Product analytics and feature usage tracking
9696
</td>
@@ -126,15 +126,6 @@ export default function CookiePolicy() {
126126
Clerk Privacy Policy
127127
</a>
128128
</p>
129-
<p>
130-
<a
131-
href="https://posthog.com/privacy"
132-
target="_blank"
133-
rel="noopener noreferrer"
134-
className="text-primary hover:underline">
135-
PostHog Privacy Policy
136-
</a>
137-
</p>
138129
<p>
139130
<a
140131
href="https://legal.hubspot.com/privacy-policy"
@@ -155,10 +146,10 @@ export default function CookiePolicy() {
155146

156147
<h2 className="mt-12 text-2xl font-bold">Analytics cookies</h2>
157148
<p>
158-
We use PostHog and HubSpot analytics cookies to understand how visitors interact with our
159-
website. This helps us improve our services, user experience, and marketing efforts. Analytics
160-
cookies are placed only if you give consent through our cookie banner. The lawful basis for
161-
processing these cookies is your consent, which you can withdraw at any time.
149+
We use HubSpot analytics cookies to understand how visitors interact with our website. This
150+
helps us improve our services, user experience, and marketing efforts. Analytics cookies are
151+
placed only if you give consent through our cookie banner. The lawful basis for processing these
152+
cookies is your consent, which you can withdraw at any time.
162153
</p>
163154

164155
<h2 className="mt-12 text-2xl font-bold">Third-party services</h2>

apps/web-roo-code/src/app/legal/subprocessors/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default function SubProcessors() {
137137
</td>
138138
</tr>
139139
<tr>
140-
<td className="border border-border px-4 py-3 font-medium">PostHog</td>
140+
<td className="border border-border px-4 py-3 font-medium">Analytics</td>
141141
<td className="border border-border px-4 py-3">Data Services</td>
142142
<td className="border border-border px-4 py-3">United States</td>
143143
<td className="border border-border px-4 py-3">Product analytics</td>

apps/web-roo-code/src/app/privacy/page.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ export default function Privacy() {
143143
<tr className="bg-muted/25">
144144
<td className="border border-border px-4 py-2 font-medium">Usage Data</td>
145145
<td className="border border-border px-4 py-2">
146-
Feature clicks, error logs, performance metrics (captured via PostHog)
146+
Feature clicks, error logs, performance metrics
147147
</td>
148-
<td className="border border-border px-4 py-2">Services automatically (PostHog)</td>
148+
<td className="border border-border px-4 py-2">Services automatically</td>
149149
</tr>
150150
<tr>
151151
<td className="border border-border px-4 py-2 font-medium">Payment Data</td>
@@ -241,9 +241,7 @@ export default function Privacy() {
241241
</tr>
242242
<tr className="bg-muted/25">
243243
<td className="border border-border px-4 py-2 font-medium">Usage & Telemetry</td>
244-
<td className="border border-border px-4 py-2">
245-
PostHog (self‑hosted analytics platform)
246-
</td>
244+
<td className="border border-border px-4 py-2">None</td>
247245
<td className="border border-border px-4 py-2">Ad networks or data brokers</td>
248246
</tr>
249247
<tr>

apps/web-roo-code/src/components/blog/BlogAnalytics.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

apps/web-roo-code/src/components/providers/posthog-provider.tsx

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)