Skip to content

WP Pixel Integration with Magento


Step 1: Download the Module

Download the latest version of the module package (ZIP or TAR.GZ) from: WP Pixel – Magento 2 (GitHub)

Download Page


Step 2: Install the Module

  1. Extract the .zip archive.
  2. Copy its contents to the following directory in your Magento instance: app/code/WP/Pixel

Note

If the WP/Pixel directory does not exist, please create it manually.

File Location


Step 3: Enable the Module in Magento

Enable the module and upgrade the setup using the Magento CLI from your project root.

php bin/magento module:enable WP_Pixel --clear-static-content
php bin/magento setup:upgrade

Step 4: Configure the Module

In the Magento admin panel, go to: Stores → Configuration → WP → WP Pixel

  1. Enable the module
  2. Paste your WP Pixel ID
  3. Select which events you want to track
  4. (Optional) Choose the attribute for EAN code
  5. (Optional) Choose Size attributes for your products

Step 5: Supported Tracking Events

The module enables tracking of the following customer actions:

  • Page views
  • Product and category views
  • Add to cart
  • Purchases (transactions)
  • Account registration and login
  • Contact form views and submissions
  • Custom CMS pages (via widget)

Step 6: Magento Admin Configuration Screens

Enable the Module

Enable Module


Set Your WP Pixel ID

Pixel ID Entry


Configure Event Tracking

Event Tracking


EAN Attribute (Optional)

EAN Attribute


Product Size Attributes (Optional)

Size Attribute


CMS Widget Support

You can place the WP Pixel widget in CMS pages or static blocks to track custom paths.

CMS Widget


Done!

WP Pixel has been successfully installed and configured for your Magento store. 🎉