Linux 软件免费装
Banner图

Advanced Pixel for Barion

开发者 mrdarkside
更新时间 2026年8月25日 22:37
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking woocommerce e-commerce pixel barion

下载

1.0.3 1.0.0 1.0.1 1.0.7 1.0.6 1.0.8

详情介绍:

Advanced Pixel for Barion adds Barion Pixel tracking to your WooCommerce store. It supports two modes: Base Pixel (always active): Loads the Barion tracking script on all pages. Fires pageView automatically for fraud prevention and basic analytics. Full Tracking (optional): Tracks all mandatory e-commerce events per the Barion Pixel documentation: Full Tracking is also one of the conditions of Barion's discounted "Advanced" gateway package. You have to request that package from Barion, and Barion reviews your pixel implementation before granting it — installing this plugin does not change your fees on its own. See the FAQ below. Cookie Consent Barion requires a grantConsent event before it approves a Full Pixel integration. The plugin sends it automatically, and reads these consent managers directly, with no extra plugin: For every other cookie banner, install the WP Consent API plugin. It is the WordPress standard for passing consent between plugins, and Real Cookie Banner, GDPR Cookie Compliance (Moove) and Cookie Notice by dFactory all support it. You can also wire your banner up by hand in a few lines. Supported Languages Privacy This plugin loads the Barion Pixel script (bp.js) from pixel.barion.com on all frontend pages. Page view and e-commerce event data is sent to Barion's servers. On purchase completion, the billing email address is passed to bp.js which encrypts it with SHA1 before transmission — no plaintext email leaves your server. Key Features

安装:

  1. Upload the advanced-pixel-for-barion folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Settings > Barion Pixel and enter your Barion Pixel ID
  4. Optionally enable or disable Full Pixel Tracking
Requirements Optional

屏幕截图:

  • Product page — Debug Mode logs `contentView` when the page loads, and `addToCart` when the customer adds the product to the cart.
  • Checkout page — `initiateCheckout` carries the cart contents and the revenue, and `setEncryptedEmail` sends the SHA-1 hashed billing email.
  • Order received page — `purchase` reports the completed order with its contents and revenue.
  • Events wait for consent. Accept marketing cookies in your banner and Debug Mode logs `Consent granted (grantConsent)`.

升级注意事项:

1.0.8 Important for every store that needs Barion's Full Pixel approval. grantConsent is now sent with CookieYes, Complianz, Cookiebot and Cookie Law Info without the WP Consent API plugin, and it is no longer missed for returning visitors. 1.0.7 Fixes a fatal error on sites that run the plugin without WooCommerce. Stores that have WooCommerce active are unaffected. 1.0.6 Important fix for every store. The addToCart event never fired on shop or category pages. Checkout and email events were also missing on the block checkout. All of them are sent now. 1.0.5 Fixes the bundled translations, which never loaded. If you run WordPress in Hungarian, Czech, Slovak, German, Croatian, Romanian, Slovenian or Serbian, the plugin's settings screen is now translated. 1.0.3 Stops duplicate setEncryptedEmail events on checkout, and fixes the Format of e-mail address or hash is invalid error that 1.0.1 could produce — including for emails that contain + or use an extended TLD, which bp.js's internal regex rejected. The plugin now pre-hashes the email with SHA-1 before sending. 1.0.1 Critical fix: pixel events (including setEncryptedEmail) were never sent in 1.0.0 due to a script enqueueing timing bug. All users should upgrade. 1.0.0 Initial release.

常见问题:

Do I need WooCommerce?

The Base Pixel (pageView) works without WooCommerce. Full event tracking (contentView, addToCart, initiateCheckout, purchase, setEncryptedEmail) requires WooCommerce.

I already use the Barion Payment Gateway plugin. Will this conflict?

No. The Barion Payment Gateway is a payment processor only — it doesn't implement Barion Pixel event tracking. Both plugins coexist perfectly. If both have a Pixel ID configured, Advanced Pixel for Barion detects that bp.js is already loaded and skips re-loading it.

Which cookie consent plugins are supported?

CookieYes, Complianz, Cookiebot and the legacy Cookie Law Info banner are read directly, with no extra plugin. Every other banner works through the WP Consent API plugin, including Real Cookie Banner, GDPR Cookie Compliance (Moove) and Cookie Notice by dFactory. Turn on Debug Mode to see which one the plugin found.

What is the difference between Base Pixel and Full Tracking?

Base Pixel loads bp.js and fires pageView on every page. This is used by Barion for fraud prevention and basic analytics. Full Tracking adds e-commerce events (product views, add to cart, checkout, purchase) that enable marketing analytics. Full Tracking is also a condition of Barion's discounted Advanced package — see the question about fees below.

Can I use only the Base Pixel?

Yes. Just uncheck "Enable Full Pixel Tracking" in the settings. The base pixel will still load and fire pageView events.

How do I check that my events reach Barion?

Barion has no page that lists your events. The Barion admin gives you your Pixel ID (Barion Wallet > Merchant Management > Details), but it does not show incoming events. You check the events in your browser instead. Enable Debug Mode in Settings > Barion Pixel, then open the browser console (F12). Every event the plugin sends appears with a [Barion Pixel] prefix. Barion's own bp.js script also writes to the same console, and its message tells you your approval state:

  • Testing message — your pixel works, but Barion has not authorised it yet. Barion receives only the type of the event, not user data. Every new implementation starts here.
  • Sending message — Barion reviewed and approved your implementation. Barion now receives the full data.
A person at Barion performs this approval. Contact Barion when your implementation is complete.

Will this plugin lower my Barion transaction fees?

Not on its own. Barion offers a discounted "Advanced" package for the Barion Smart Gateway, and a complete Full Pixel implementation with consent management is one of its conditions. Two things are important. First, you have to request the package from Barion — it is not applied automatically when you install a pixel. Second, Barion examines your implementation before granting it, and commercial conditions apply as well, for example your average cart size and your card mix. For the current conditions, see the Barion Smart Gateway page.

How does the plugin handle page caching?

The addToCart event uses client-side JavaScript instead of PHP sessions, so it works correctly with all page caching setups (WP Super Cache, W3 Total Cache, LiteSpeed, WordPress.com hosting, etc.). Other events fire on dynamic pages that are not cached.

更新日志:

1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.1 1.0.0