Skip to content

chore(Tracking): Remove unused third-party scripts from the app - #9124

Merged
talissoncosta merged 9 commits into
mainfrom
chore/remove-unused-trackers
Nov 26, 2026
Merged

talissoncosta merged 9 commits into
mainfrom
chore/remove-unused-trackers

Conversation

@talissoncosta

@talissoncosta talissoncosta commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor
  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Removes third-party trackers the app no longer needs:

  • Albacross on the signup page. The contract was cancelled in 2024.
  • Delighted surveys. Its library returns 502, so surveys could no longer load. The delighted flag can be archived after merge.
  • Amplitude Engagement (Guides & Surveys). Nothing is live, only drafts, and the owner has left.
  • Pylon chat. hubspot_chat is on for everyone, so Pylon could no longer load. Support confirmed it's no longer used. The backend pylon_email_signature is left for a separate API PR.

LinkedIn and Universal Analytics move to #9127, which waits for marketing to confirm. Universal Analytics also forwards data to the app's GA4 property.

Drops ALBACROSS_CLIENT_ID, DELIGHTED_API_KEY and PYLON_APP_ID from the frontend config and docs.

First-event Slack notifications (infra_first_events) no longer depend on Google Analytics being configured.

How did you test this code?

  • npm run test:unit passes. No new type errors.
  • On the Vercel preview: open /login, /signup and the features page. The network tab no longer shows serve.albacross.com, cloudfront.net/.../delighted.js, cdn.amplitude.com/engagement-browser or widget.usepylon.com. The chat button still opens HubSpot chat.

…tics in the app

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 26, 2026 2:54pm UTC
flagsmith-frontend-preview Ready Ready Preview Nov 26, 2026 2:54pm UTC
flagsmith-frontend-staging Ready Ready Preview Nov 26, 2026 2:54pm UTC

Request Review

The Delighted library now returns 502, so surveys could no longer load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
talissoncosta and others added 2 commits November 26, 2026 10:26
Nothing in Guides & Surveys is live, and its owner has left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HubSpot chat is on for everyone, so Pylon could no longer load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@talissoncosta talissoncosta changed the title chore(Tracking): Remove LinkedIn, Albacross and Universal Analytics from the app chore(Tracking): Remove unused third-party scripts from the app Nov 26, 2026
@github-actions github-actions Bot added docs Documentation updates chore and removed docs Documentation updates chore labels Nov 26, 2026
@talissoncosta
talissoncosta marked this pull request as ready for review November 26, 2026 13:39
@talissoncosta
talissoncosta requested review from a team as code owners November 26, 2026 13:39
@talissoncosta
talissoncosta removed the request for review from a team November 26, 2026 13:39

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 10 files (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: The PR removes third-party tracking and chat integrations, but the diff does not verify that the removed user-facing services are inactive or that the resulting behavior is acceptable.

Turn on auto-fix | Re-trigger cubic

Its script also feeds the app's GA4 property. The first-event Slack
notification stays independent of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 7 files (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: The PR removes chat and survey integrations but also restores Universal Analytics tracking. Human review is needed for the tracking policy and for accepting the lost user-facing paths, whose inactivity is asserted rather than shown.

Turn on auto-fix | Re-trigger cubic

The contract was cancelled in 2024, so it no longer did anything for us.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 4 files (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Removes Delighted, Amplitude Engagement, Pylon, and Albacross from the frontend and makes first-event Slack alerts independent of Google Analytics. Human review is needed for the lost chat/survey/marketing paths and broader Slack alerting.

Turn on auto-fix | Re-trigger cubic

@Zaimwa9 Zaimwa9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎬

@talissoncosta
talissoncosta merged commit 98fa536 into main Nov 26, 2026
57 of 60 checks passed
@talissoncosta
talissoncosta deleted the chore/remove-unused-trackers branch November 26, 2026 15:54

This branch was successfully deployed

3 active deployments
Preview – flagsmith-frontend-staging — 917e65df Deployed Nov 26, 2026 by vercel[bot]
Preview – flagsmith-frontend-preview — 917e65df Deployed Nov 26, 2026 by vercel[bot]
Preview – docs — 917e65df Deployed Nov 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants