PHPackages                             lwplugins/lw-pixel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lwplugins/lw-pixel

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

lwplugins/lw-pixel
==================

Lightweight tracking pixel manager for WordPress (Meta, GA4, Google Ads, GTM, TikTok, Pinterest, Bing).

v1.0.5(1mo ago)3142↓100%[1 issues](https://github.com/lwplugins/lw-pixel/issues)GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Apr 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/lwplugins/lw-pixel)[ Packagist](https://packagist.org/packages/lwplugins/lw-pixel)[ Fund](https://sinann.io/)[ RSS](/packages/lwplugins-lw-pixel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

LW Pixel
========

[](#lw-pixel)

Lightweight tracking pixel manager for WordPress.

[![PHP Version](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://php.net)[![WordPress Version](https://camo.githubusercontent.com/f1989d6cd7139e0ba03c225b1eb47980a7ec6ba2a2b489beb9c01881be322852/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576f726450726573732d362e302532422d626c75652e737667)](https://wordpress.org)[![License](https://camo.githubusercontent.com/77e900ae34f8da9ccccc42662fce61a94ab07ddbfe3f7d066178e824f3673dbd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322d626c75652e737667)](https://www.gnu.org/licenses/gpl-2.0.html)[![Packagist](https://camo.githubusercontent.com/58b22312befb06a84a22b88b96dbded3fd2825dbe01d3f98dd73a18716709624/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c77706c7567696e732f6c772d706978656c2e737667)](https://packagist.org/packages/lwplugins/lw-pixel)

[![LW Pixel Settings](.github/screenshot.png)](.github/screenshot.png)

What it does
------------

[](#what-it-does)

Loads tracking pixels from the major ad networks and dispatches the standard ecommerce / conversion events for them. No upsell, no tracking, no bloat.

Supported pixels
----------------

[](#supported-pixels)

- **Meta (Facebook) Pixel** — `fbq` browser pixel + Conversion API server-side (Advanced Matching, External ID, Order Enrich)
- **Google Analytics 4** — `gtag.js` + Measurement Protocol server-side
- **Google Ads** — conversion tracking + remarketing
- **Google Tag Manager** — container + `dataLayer`
- **TikTok Pixel** — `ttq`
- **Pinterest Tag** — `pintrk`
- **Microsoft Bing UET** — `uetq`
- **Reddit Pixel** — `rdt`
- **Snapchat Pixel** — `snaptr`
- **X (Twitter) Pixel** — `twq`

Supported events
----------------

[](#supported-events)

- `PageView` (auto, every page)
- `ViewContent` — single posts/pages and WooCommerce products
- `Search` — search results pages
- `Lead` / `Contact` — form submissions
- `AddToCart`, `InitiateCheckout`, `AddPaymentInfo`, `Purchase`, `ViewCart`, `ViewCategory` — WooCommerce
- `Login`, `Signup` (CompleteRegistration), `Comment` — server-side, replayed on the next page load
- `Scroll`, `TimeOnPage`, `Download` — auto-tracked frontend events with configurable thresholds
- Custom events — define your own with the editor (page\_load / click / scroll / time triggers, URL patterns)

Integrations
------------

[](#integrations)

### Form plugins

[](#form-plugins)

Lead events fire automatically when any of these forms are submitted:

- **Contact Form 7**
- **WPForms**
- **Elementor Pro Forms**
- **Gravity Forms**
- **Forminator**
- **Formidable Forms**
- **Ninja Forms**
- **Fluent Forms**
- **WS Form**

### Other

[](#other)

- **WooCommerce** — full ecommerce funnel (ViewProduct, ViewCategory, ViewCart, AddToCart, InitiateCheckout, AddPaymentInfo, Purchase) with idempotent thank-you-page Purchase
- **LW Cookie** — granular consent-based pixel loading via `lw_cookie_is_category_allowed`
- **LW Site Manager** — managed via the Abilities API (get-options, set-options, list-pixels)

Compliance
----------

[](#compliance)

- **Medical traffic mode** — strips PII from event payloads + CAPI user\_data (HIPAA-friendly)
- **Limited Data Use (LDU)** — adds Meta data\_processing\_options for California / CCPA (auto-resolve or force California)

Migration
---------

[](#migration)

Built-in **PixelYourSite (Free / Pro) migrator** under **LW Plugins → Pixel → Tools** — preview-diff UI, one-click import. Reads from both `wp_options` and the legacy `pys_options` table.

Installation
------------

[](#installation)

```
composer require lwplugins/lw-pixel
```

Or download a release ZIP from the [GitHub releases page](https://github.com/lwplugins/lw-pixel/releases).

Configuration
-------------

[](#configuration)

After activation, go to **LW Plugins → Pixel** and add your pixel IDs. Each pixel has its own tab with provider-specific options.

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance85

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56bc0e3c885c56236e52eaed12997aa4fbaf0645299acf0092a8cc5b887d65b0?d=identicon)[trueqap](/maintainers/trueqap)

---

Top Contributors

[![trueqap](https://avatars.githubusercontent.com/u/32407751?v=4)](https://github.com/trueqap "trueqap (9 commits)")

---

Tags

analyticsconversion-trackingconversions-apifacebook-pixelgdprgoogle-analyticsgtmlightweightmeta-pixelpinterestpixeltiktok-pixeltrackingwoocommercewordpresswordpress-plugin

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lwplugins-lw-pixel/health.svg)

```
[![Health](https://phpackages.com/badges/lwplugins-lw-pixel/health.svg)](https://phpackages.com/packages/lwplugins-lw-pixel)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

382458.3k3](/packages/roots-wp-stage-switcher)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.3k](/packages/vinkla-wordplate)[mediawiki/maps

Adds various mapping features to MediaWiki

79149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
