Skip to content

remove facebook tracking#1591

Merged
joelhooks merged 2 commits intomainfrom
joel/remove-facebook-tracking
Apr 2, 2026
Merged

remove facebook tracking#1591
joelhooks merged 2 commits intomainfrom
joel/remove-facebook-tracking

Conversation

@joelhooks
Copy link
Copy Markdown
Contributor

@joelhooks joelhooks commented Apr 1, 2026

Summary

  • remove the Facebook pixel component from the app shell
  • stop sending custom analytics events to window.fbq
  • remove the react-facebook-pixel dependency

Testing

  • pnpm i
  • pnpm lint

Summary by CodeRabbit

  • Chores
    • Removed Facebook Pixel tracking integration and related dependency from the application.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
egghead-io-nextjs Ready Ready Preview, Comment Apr 2, 2026 2:25am

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 686aee2d-f793-4427-a45a-b6a97a182cdb

📥 Commits

Reviewing files that changed from the base of the PR and between e92b91f and 5da99a6.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • package.json
  • src/components/facebook-pixel.tsx
  • src/pages/_app.tsx
  • src/utils/analytics/track.ts
💤 Files with no reviewable changes (4)
  • package.json
  • src/pages/_app.tsx
  • src/utils/analytics/track.ts
  • src/components/facebook-pixel.tsx

📝 Walkthrough

Walkthrough

This pull request removes Facebook Pixel integration from the application. The react-facebook-pixel npm dependency is deleted, along with the dedicated React component, its implementation in the app root, and all related tracking calls in the analytics utility.

Changes

Cohort / File(s) Summary
Facebook Pixel Integration Removal
package.json, src/components/facebook-pixel.tsx, src/pages/_app.tsx, src/utils/analytics/track.ts
Removed all Facebook Pixel functionality: deleted the npm dependency, the component that initialized and tracked pixel events, its usage in the Next.js app root, and the custom event tracking call in the analytics utility.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Farewell, dear pixel, you've tracked long enough,
Off to the deletion heap, no more pixelated stuff!
Our analytics flow now flows so clean,
Simpler than it's ever been.
Hop along, Facebook, it's time to part,
The rabbit's code now has a lighter heart! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'remove facebook tracking' accurately and concisely describes the main change across all modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch joel/remove-facebook-tracking

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@joelhooks joelhooks merged commit b34c7d0 into main Apr 2, 2026
3 of 4 checks passed
@joelhooks joelhooks deleted the joel/remove-facebook-tracking branch April 2, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant