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)
Step 2: Install the Module
- Extract the
.zip
archive. - 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.
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
- Enable the module
- Paste your WP Pixel ID
- Select which events you want to track
- (Optional) Choose the attribute for EAN code
- (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
Set Your WP Pixel ID
Configure Event Tracking
EAN Attribute (Optional)
Product Size Attributes (Optional)
CMS Widget Support
You can place the WP Pixel widget in CMS pages or static blocks to track custom paths.
Done!
WP Pixel has been successfully installed and configured for your Magento store. 🎉