Do you want us to install the Facebook Pixel extension for you?

Let our technical engineers do it – check out our Installation Service.

To install Magento 2 Facebook Pixel by Magefan, please use one of these installation methods.

Installation Method 1 - Installing via Composer (recommended)

  1. Open command line
  2. Using command "cd" navigate to your Magento 2 root directory
  3. Run CLI commands:
composer require magefan/module-facebook-pixel
# Authentication required (repo.magento.com)
# Get your Magento Marketplace authentication keys or use these:
# Username: 7c018006799466c681ad507e27904677
# Password: 289077c86e811661a8f7751828485d3a
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Note: if you don't want your website to be down during deployment, try these zero downtime deployment commands for Magento 2.

Installation Method 2 - Installing using an archive and FTP

  1. Download Facebook Pixel Extension ZIP-Archive from magefan.com website (not GitHub or other sources)
  2. Extract files
  3. Copy app and lib folders from the archive to your Magento 2 folder
    magento 2 Extension Installation
  4. In a command line, using "cd", navigate to your Magento 2 root directory
  5. Run CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Once you install the extension, add Facebook pixel to your Magento 2 store pages and integrate Facebook shop with your store.