Linux 软件免费装
Banner图

Halfborg Pixel Tracking for WooCommerce

开发者 alexhalfborg
更新时间 2026年10月26日 09:40
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce google analytics pixel google ads conversion api

下载

1.2.2 1.1.0 1.2.0 1.2.1

详情介绍:

Halfborg Pixel Tracking for WooCommerce sends your store's e-commerce events to Meta and Google from one plugin. For Meta, it sends events both from the browser (Meta Pixel) and from your server (Facebook Conversions API), so conversions are still recorded when the browser pixel is blocked. The two halves share an event ID so Meta counts each event once. For Google, it loads one Google tag at the top of every page and sends the full WooCommerce funnel to Google Analytics 4 and Google Ads. Features How It Works
  1. As a visitor browses, adds to cart and checks out, the plugin sends each step to the services you have configured
  2. Google add-to-cart and remove-from-cart events are recorded from WooCommerce's own cart, so they are captured whether the product was added from a product page, a shop page link, an AJAX button or a cart block, and when a quantity is changed
  3. When a customer completes an order, the purchase is sent with its value, currency, items and order number
  4. Customer data is hashed with SHA-256 before it leaves your server

安装:

  1. Upload the plugin files to the /wp-content/plugins/halfborg-pixel-tracking-for-woocommerce directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to WooCommerce > Pixel Tracking to configure the plugin
  4. For Meta, enter your Facebook Conversions API Access Token and Pixel ID
  5. For Google, enter your GA4 Measurement ID and/or Google Ads Conversion ID and purchase conversion label
  6. Deactivate any other plugin that sends the same events to Meta or Google, so nothing is counted twice

常见问题:

Where do I find my Facebook Conversions API Access Token?

You can generate an access token in Events Manager. Go to Events Manager > Data Sources > select your Pixel > Settings > Conversions API > Generate access token. Facebook's official instructions: https://developers.facebook.com/docs/marketing-api/conversions-api/get-started/

Where do I find my Facebook Pixel ID?

Your Pixel ID can be found in Events Manager under Data Sources, next to your pixel name. Facebook's official instructions: https://www.facebook.com/business/help/952192354843755

Where do I find my GA4 Measurement ID?

In Google Analytics, go to Admin > Data streams, open your web stream, and copy the Measurement ID (it starts with G-). Google's official instructions: https://support.google.com/analytics/answer/9539598

Where do I find my Google Ads Conversion ID and label?

In Google Ads, go to Goals > Conversions, open your Purchase conversion action, and choose to set up the tag yourself. The event snippet contains send_to: 'AW-XXXXXXXXX/label'. The part before the slash is the Conversion ID and the part after it is the label. Google's official instructions: https://support.google.com/google-ads/answer/6095821

Google Ads says sold item IDs can't be matched to Merchant Center. What do I check?

The product IDs the plugin sends must be the IDs in your Merchant Center feed. Check two settings under WooCommerce > Pixel Tracking: "Remarketing Product ID" must match your feed plugin's ID format, and "Product Variations in Feed" must match whether your feed lists each variation separately or only the parent product. Products you have excluded from your feed are not in Merchant Center, so they can never be matched; their sales still count as conversions.

Google Ads shows 0% basket data coverage for my purchase conversion. Why?

Google Ads only reads sold products from the purchase conversion when it also knows which Merchant Center account they belong to. Enter your Merchant Center ID under WooCommerce > Pixel Tracking. Feed Country and Feed Language default to your store's country and site language; change them only if your feed targets a different country or language.

Can I use it alongside other Google or Meta tracking plugins?

Only if those plugins are not sending the same events. Two plugins sending GA4 or Google Ads events will count every page view, add to cart and purchase twice. Switch the duplicate tracking off in the other plugin, or deactivate it.

Is this plugin compatible with WooCommerce HPOS?

Yes, this plugin is fully compatible with WooCommerce's High-Performance Order Storage (HPOS) feature.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.0