跳到内容

Advanced Pixel for Barion

v1.0.10

Gergely Csécsey · 2026年3月19日 上架

Barion Pixel integration for WooCommerce with full e-commerce event tracking, cookie consent support, and WP Consent API compatibility.

正在使用
100+
评分
暂无
累计下载
1,627
最近更新
2026年10月31日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

截图

Settings page — enter your Barion Pixel ID, then enable Full Pixel Tracking and Debug Mode.
Settings page — enter your Barion Pixel ID, then enable Full Pixel Tracking and Debug Mode.
Product page — Debug Mode logs contentView when the page loads, and addToCart when the customer adds the product to the cart.
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.
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.
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) .
Events wait for consent. Accept marketing cookies in your banner and Debug Mode logs Consent granted (grantConsent) .

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:

  • contentView – Product page views
  • addToCart – Add to cart actions (client-side, compatible with page caching)
  • initiateCheckout – Checkout page views
  • purchase – Completed orders with full revenue tracking
  • setEncryptedEmail – Encrypted billing email for user identification

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:

  • CookieYes
  • Complianz
  • Cookiebot
  • Cookie Law Info (legacy banner)

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.

Documentation

The full documentation, with the event reference, cookie consent setup and testing notes, is at plottwist.hu/docs/advanced-pixel-for-barion. It is available in all the languages below.

Supported Languages

  • English (default)
  • Hungarian (hu_HU)
  • Czech (cs_CZ)
  • Slovak (sk_SK)
  • German (de_DE)
  • Croatian (hr)
  • Romanian (ro_RO)
  • Slovenian (sl_SI)
  • Serbian (sr_RS)

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

  • Base Pixel with automatic pageView tracking
  • Full e-commerce event tracking with all required fields
  • Automatic grantConsent and rejectConsent, required for Barion’s Full Pixel approval
  • Client-side add-to-cart tracking (compatible with page caching)
  • Variable product support (tracks variation prices)
  • Duplicate purchase prevention
  • Debug mode with console logging
  • Keeps one base pixel on the page, because two copies of bp.js stop events from reaching Barion

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums