Title: X Pixel
Author: X Ads
Published: <strong>October 16, 2026</strong>
Last modified: October 16, 2026

---

Search plugins

![](https://ps.w.org/x-pixel/assets/icon-256x256.png?rev=3751091)

# X Pixel

 By [X Ads](https://profiles.wordpress.org/nathanlee77/)

[Download](https://downloads.wordpress.org/plugin/x-pixel.0.4.3.zip)

 * [Details](https://wordpress.org/plugins/x-pixel/#description)
 * [Reviews](https://wordpress.org/plugins/x-pixel/#reviews)
 *  [Installation](https://wordpress.org/plugins/x-pixel/#installation)
 * [Development](https://wordpress.org/plugins/x-pixel/#developers)

 [Support](https://wordpress.org/support/plugin/x-pixel/)

## Description

X Pixel installs the X website tag on your WordPress site so you can measure conversions
from your X Ads campaigns.

 * Base pixel on every public page once a Pixel ID is saved
 * Connect X Ads to fill in the Pixel ID, Conversion API token, and store event 
   IDs
 * Or paste a Pixel ID from X Ads Manager
 * WooCommerce product view, add to cart, checkout, and purchase events
 * Easy Digital Downloads download view, add to cart, checkout, and purchase events
 * WP eCommerce product view, add to cart, checkout, and purchase events
 * Conversion API events use the same conversion ID as the browser event so X can
   deduplicate them

Nothing is loaded on your site and no data is sent to X until you connect X Ads 
or save a Pixel ID on the settings page.

### External services

This plugin connects to services operated by X Corp. It does not contact any other
third party.

**X website tag (static.ads-twitter.com)**
 Once a Pixel ID is saved, every public
page loads the X website tag script from https://static.ads-twitter.com/uwt.js in
the visitor’s browser. The script reports page views and the store events listed
below to X, together with the visitor’s IP address, user agent, the page URL, and
the X click identifier (twclid) if the visitor arrived from an X ad. X may set first-
party cookies such as _twclid on your domain.

**X Conversion API (ads-api.x.com)**
 If a Conversion API token is saved, your server
also sends store events to https://ads-api.x.com. Each event can include the order
value and currency, the number of items, the product IDs, names, and prices, the
page URL, the visitor’s IP address and user agent, the X click identifier, and a
SHA-256 hash of the customer’s email address, phone number, first name, and last
name. Raw email addresses, phone numbers, and names are never sent.

**X Ads connect (ads.x.com and api.x.com)**
 When you click Connect X Ads, your 
browser is sent to https://ads.x.com and https://api.x.com to authorize the connection.
X returns the Pixel ID, Conversion API token, and event IDs to this site. No visitor
data is involved in this step.

X Terms of Service: https://x.com/tos
 X Privacy Policy: https://x.com/privacy X
Ads policies: https://business.x.com/en/help/ads-policies.html

You are responsible for displaying any visitor consent notice required in your jurisdiction
before the pixel loads, and for describing this data sharing in your site’s privacy
policy.

## Installation

 1. Upload the plugin or install it from Plugins  Add New.
 2. Activate X Pixel.
 3. Go to Settings  X Pixel.
 4. Click Connect X Ads, or paste your Pixel ID.

## FAQ

### Do I need WooCommerce?

No. The base pixel works on any WordPress site. Store events are added automatically
when WooCommerce, Easy Digital Downloads, or WP eCommerce is active, and all three
use the same four event IDs from the settings page.

### Where do I find my Pixel ID?

X Ads Manager  Events Manager  Install Pixel.

### Does the plugin track anyone before it is configured?

No. The pixel script is not loaded and no requests are made to X until a Pixel ID
is saved. Nothing is loaded in the WordPress admin.

### What happens when I uninstall?

All plugin options, connection transients, and the per-order markers the plugin 
stores are removed.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“X Pixel” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ X Ads ](https://profiles.wordpress.org/nathanlee77/)

[Translate “X Pixel” into your language.](https://translate.wordpress.org/projects/wp-plugins/x-pixel)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/x-pixel/), check out
the [SVN repository](https://plugins.svn.wordpress.org/x-pixel/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/x-pixel/) by [RSS](https://plugins.trac.wordpress.org/log/x-pixel/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4.3

 * Ignore crawler add-to-cart hits, make queued browser events cache-safe, standard
   pixel integration label.

#### 0.4.2

 * Security hardening for WordPress.org review.

#### 0.4.1

 * Finish the X Ads connection with a redirect instead of a form post.

#### 0.4.0

 * Easy Digital Downloads and WP eCommerce events, reusing the WooCommerce event
   IDs.

#### 0.3.0

 * Connect X Ads, Conversion API, and WooCommerce events.

## Meta

 *  Version **0.4.3**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [ads](https://wordpress.org/plugins/tags/ads/)[conversion tracking](https://wordpress.org/plugins/tags/conversion-tracking/)
   [pixel](https://wordpress.org/plugins/tags/pixel/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
   [x](https://wordpress.org/plugins/tags/x/)
 *  [Advanced View](https://wordpress.org/plugins/x-pixel/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/x-pixel/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/x-pixel/reviews/)

## Contributors

 *   [ X Ads ](https://profiles.wordpress.org/nathanlee77/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/x-pixel/)