{"id":377773,"date":"2026-10-16T20:07:22","date_gmt":"2026-10-16T20:07:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/x-pixel\/"},"modified":"2026-10-16T20:07:12","modified_gmt":"2026-10-16T20:07:12","slug":"x-pixel","status":"publish","type":"plugin","link":"https:\/\/nl.wordpress.org\/plugins\/x-pixel\/","author":23576250,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4.3","stable_tag":"0.4.3","tested":"7.1.3","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"X Pixel","header_author":"X","header_description":"Installs the X conversion tracking pixel on your WordPress site and sends WooCommerce, Easy Digital Downloads, and WP eCommerce events to X Ads.","assets_banners_color":"","last_updated":"2026-10-16 20:07:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/ads.x.com\/","rating":0,"author_block_rating":0,"active_installs":60,"downloads":61,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.4.3":{"tag":"0.4.3","author":"nathanlee77","date":"2026-10-16 20:07:12","revision":3751067}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3751091,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3751091,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.4.3"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[321,986,28464,286,11061],"plugin_category":[35,45],"plugin_contributors":[287162],"plugin_business_model":[],"class_list":["post-377773","plugin","type-plugin","status-publish","hentry","plugin_tags-ads","plugin_tags-conversion-tracking","plugin_tags-pixel","plugin_tags-woocommerce","plugin_tags-x","plugin_category-advertising","plugin_category-ecommerce","plugin_contributors-nathanlee77","plugin_committers-nathanlee77"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/x-pixel\/assets\/icon-128x128.png?rev=3751091","icon_2x":"https:\/\/ps.w.org\/x-pixel\/assets\/icon-256x256.png?rev=3751091","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>X Pixel installs the X website tag on your WordPress site so you can measure conversions from your X Ads campaigns.<\/p>\n\n<ul>\n<li>Base pixel on every public page once a Pixel ID is saved<\/li>\n<li>Connect X Ads to fill in the Pixel ID, Conversion API token, and store event IDs<\/li>\n<li>Or paste a Pixel ID from X Ads Manager<\/li>\n<li>WooCommerce product view, add to cart, checkout, and purchase events<\/li>\n<li>Easy Digital Downloads download view, add to cart, checkout, and purchase events<\/li>\n<li>WP eCommerce product view, add to cart, checkout, and purchase events<\/li>\n<li>Conversion API events use the same conversion ID as the browser event so X can deduplicate them<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to services operated by X Corp. It does not contact any other third party.<\/p>\n\n<p><strong>X website tag (static.ads-twitter.com)<\/strong>\nOnce 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.<\/p>\n\n<p><strong>X Conversion API (ads-api.x.com)<\/strong>\nIf 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.<\/p>\n\n<p><strong>X Ads connect (ads.x.com and api.x.com)<\/strong>\nWhen 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.<\/p>\n\n<p>X Terms of Service: https:\/\/x.com\/tos\nX Privacy Policy: https:\/\/x.com\/privacy\nX Ads policies: https:\/\/business.x.com\/en\/help\/ads-policies.html<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin or install it from Plugins \u2192 Add New.<\/li>\n<li>Activate X Pixel.<\/li>\n<li>Go to Settings \u2192 X Pixel.<\/li>\n<li>Click Connect X Ads, or paste your Pixel ID.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20woocommerce%3F\"><h3>Do I need WooCommerce?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"where%20do%20i%20find%20my%20pixel%20id%3F\"><h3>Where do I find my Pixel ID?<\/h3><\/dt>\n<dd><p>X Ads Manager \u2192 Events Manager \u2192 Install Pixel.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20track%20anyone%20before%20it%20is%20configured%3F\"><h3>Does the plugin track anyone before it is configured?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20uninstall%3F\"><h3>What happens when I uninstall?<\/h3><\/dt>\n<dd><p>All plugin options, connection transients, and the per-order markers the plugin stores are removed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Ignore crawler add-to-cart hits, make queued browser events cache-safe, standard pixel integration label.<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Security hardening for WordPress.org review.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Finish the X Ads connection with a redirect instead of a form post.<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Easy Digital Downloads and WP eCommerce events, reusing the WooCommerce event IDs.<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Connect X Ads, Conversion API, and WooCommerce events.<\/li>\n<\/ul>","raw_excerpt":"Install the X conversion tracking pixel on WordPress, with WooCommerce, Easy Digital Downloads, and WP eCommerce events and the X Conversion API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/377773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=377773"}],"author":[{"embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nathanlee77"}],"wp:attachment":[{"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=377773"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=377773"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=377773"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=377773"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=377773"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=377773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}