A Chrome extension for detecting, debugging, and monitoring marketing pixels and tracking tags across websites.
| Platform | Detection | Events Capture | ID Extraction |
|---|---|---|---|
| Meta Pixel | β | β | β |
| TikTok Pixel | β | β | β |
| Google Tags (GTM, GA4, Ads) | β | β | β |
| Zalo (Pixel & OA Widget) | β | β | β |
π― Real-time Detection
- Automatically detects installed tracking pixels when you visit any website
- Shows pixel status: Installed β Loaded β Fired
π Event Timeline
- Captures all tracking events in real-time
- Filter by platform or event name
- View event parameters with masked sensitive data
π§ Diagnostics
- Identifies duplicate pixel IDs
- Warns about pixels that are installed but not firing
- Provides actionable recommendations
π€ Export Options
- Copy report as formatted text (for Slack/Email)
- Export raw JSON data for developers
-
Clone this repository:
git clone https://github.com/user/unified-pixel-inspector.git
-
Open Chrome and navigate to
chrome://extensions/ -
Enable Developer mode (toggle in top-right corner)
-
Click Load unpacked and select the cloned folder
-
The extension icon will appear in your toolbar
- Click the extension icon to open the Side Panel
- Navigate to any website with tracking pixels
- View detected platforms in the Scan tab
- Monitor real-time events in the Timeline tab
- Configure settings in the Settings tab
| Scan View | Timeline View |
|---|---|
| Detected platforms with status | Real-time event stream |
unified-pixel-inspector/
βββ manifest.json # Extension configuration
βββ background.js # Service worker for network monitoring
βββ content/
β βββ scanner.js # DOM scanning for pixels
β βββ hooks.js # API hooking in page context
βββ sidepanel/
β βββ index.html # Side panel UI
β βββ styles.css # Styling (light/dark themes)
β βββ app.js # UI logic and rendering
βββ icons/ # Extension icons
- Script Analysis: Scans
<script>tags for pixel libraries - Global Check: Verifies window objects (fbq, ttq, dataLayer, etc.)
- Network Monitoring: Intercepts requests to tracking endpoints
- API Hooking: Captures tracking function calls in real-time
activeTab: Access current tab contentscripting: Inject content scriptsstorage: Save user preferenceswebRequest: Monitor network requestssidePanel: Display side panel UI
The extension supports both Light and Dark themes, matching your preference.
- All analysis happens locally in your browser
- No data is sent to external servers
- Sensitive parameters (email, phone) are automatically masked
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Meta Pixel Helper and TikTok Pixel Helper
- Built with β€οΈ by nguyenvanhao.name.vn