Skip to content

Latest commit

Β 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Unified Pixel Inspector

A Chrome extension for detecting, debugging, and monitoring marketing pixels and tracking tags across websites.

Chrome Extension Version License

✨ Features

Supported Platforms

Platform Detection Events Capture ID Extraction
Meta Pixel βœ… βœ… βœ…
TikTok Pixel βœ… βœ… βœ…
Google Tags (GTM, GA4, Ads) βœ… βœ… βœ…
Zalo (Pixel & OA Widget) βœ… βœ… βœ…

Core Capabilities

🎯 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

πŸš€ Installation

From Source (Developer Mode)

  1. Clone this repository:

    git clone https://github.com/user/unified-pixel-inspector.git
  2. Open Chrome and navigate to chrome://extensions/

  3. Enable Developer mode (toggle in top-right corner)

  4. Click Load unpacked and select the cloned folder

  5. The extension icon will appear in your toolbar

πŸ“– Usage

  1. Click the extension icon to open the Side Panel
  2. Navigate to any website with tracking pixels
  3. View detected platforms in the Scan tab
  4. Monitor real-time events in the Timeline tab
  5. Configure settings in the Settings tab

Screenshots

Scan View Timeline View
Detected platforms with status Real-time event stream

πŸ› οΈ Technical Details

Architecture

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

Detection Methods

  1. Script Analysis: Scans <script> tags for pixel libraries
  2. Global Check: Verifies window objects (fbq, ttq, dataLayer, etc.)
  3. Network Monitoring: Intercepts requests to tracking endpoints
  4. API Hooking: Captures tracking function calls in real-time

Permissions

  • activeTab: Access current tab content
  • scripting: Inject content scripts
  • storage: Save user preferences
  • webRequest: Monitor network requests
  • sidePanel: Display side panel UI

🎨 Themes

The extension supports both Light and Dark themes, matching your preference.

πŸ”’ Privacy

  • All analysis happens locally in your browser
  • No data is sent to external servers
  • Sensitive parameters (email, phone) are automatically masked

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

About

πŸ” Chrome extension for detecting, debugging, and monitoring marketing pixels (Meta, TikTok, Google, Zalo) across websites. Real-time event capture, diagnostics, and export capabilities.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages