Powered by Magento Commerce 2.4.1

apptrian-facebook-pixel-icon.jpg

Facebook Pixel

This is an Integration with a Third Party Service. Other charges and fees may be required to use this extension on your Store
TOTAL:
$39.99

Overview

Back to top

The Facebook Pixel is a piece of JavaScript code for your website that enables you to measure, optimize, and build audiences for your ad campaigns. Using the Facebook Pixel, you can leverage the actions people take on your website across devices to inform more effective Facebook advertising campaigns.

The Facebook Server-Side API (for web) allows advertisers to send web events from their servers directly to Facebook. Server-side events are linked to a pixel and are processed like browser pixel events. This means that server-side events are used in measurement, reporting, and optimization in the same way as browser pixel events.

Apptrian's Facebook Pixel extension for Magento adds Facebook Pixel with Dynamic Ads code on CMS pages (including the home page), category pages, product pages, catalog search pages, catalog advanced search pages, customer registration page, checkout page (default Magento one but also any other without any coding, only by typing page handle (full action name) into our extension config.), and checkout success page. The extension supports Advanced Matching (if the customer is logged in) and has the ability to add custom parameters.

Optionally Facebook Pixel block can be added to any other Magento page or any other extension page (blogs, form pages, etc.) via our extension config by typing page handle (full action name). The Facebook  Pixel allows you to place a single pixel on your entire website to report conversions, build audiences, and get rich insights into how people use your website.

Conversion measurement lets you track actions people take after viewing your Facebook Ads across multiple devices, including mobile phones, tablets, and desktop computers. By creating a Facebook Pixel and adding it to the pages of your website where conversions happen, like the checkout page, you will see who converts as a result of your Facebook Ads. The pixel will continue to monitor the actions people take after clicking on your ad. You can see which device they saw the ad on and which device they ultimately converted on.

 

Account & Pricing

To use this extension, a free Facebook Business Manager account is required. 

NOTE: Facebook Advertising service is not free; additional charges apply to users running Facebook Ad Campaigns.

 

Features

Facebook Pixel

  • An easy way to enable or disable Facebook Pixel.
  • Advanced Matching (if the customer is logged in).
  • Works out of the box just type your Facebook Pixel ID (or comma-separated IDs for multipixel setups) in our extension config.
  • Option to type page handles (full action names) where you want Facebook Pixel. Using this option Facebook Pixel can be added to any other Magento page or any other extension page (blogs, form pages, etc.).
  • Individual options to enable or disable AddToCart, AddToWishlist, CompleteRegistration, InitiateCheckout, Purchase, Search, and ViewContent events.
  • Option to move parameters outside contents.
  • Options to detect selected SKUs for all product types including bundle, configurable, and grouped products. WARNING! *

 

* WARNING! Facebook Pixel (client-side) detection of selected SKUs feature is heavily dependent on the theme you are using and its customization. It is impossible to predict all possible themes and customizations. Because of this detection will not work on every theme. This is why extension default configuration comes with this feature turned off. You can turn it on, try it out if it is working for you and if it does leave it on, otherwise turn it off. If you are a developer you will be pleased to know that everything is conveniently located in code.phtml file. To make it work, in some cases only the adjustment of few jQuery selectors is needed in others complete rewrite of detection code is needed. Because of this, we do not give any warranty for the detection feature, nor it is covered by our support service.

Unlike Facebook Pixel client-side detection, the Facebook Server-Side detection is not dependent on the theme you are using, and its customization. Therefore if you want to use detection we recommend you to use server-side detection and events and to disable client-side detection and events.

 

Facebook Server-Side API

  • An easy way to enable or disable Facebook Server-Side API.
  • Advanced Matching (if the customer is logged in).
  • Option to type your Facebook Access Token in our extension config.
  • Option to type your Facebook API Version in our extension config.
  • Option to type your Test Event Code in our extension config.
  • Option to log server-side fired events in the Magento log file.
  • Individual options to enable or disable AddToCart, AddToWishlist, CompleteRegistration, InitiateCheckout, and Purchase events. * Notice
  • Option to move parameters outside contents.
  • Options to detect selected SKUs for all product types including bundle, configurable, and grouped products.

 

* Notice When you enable server-side events the corresponding client-side events will be disabled automatically to avoid duplication. The server-side events are not visible in the Facebook Pixel Helper extension for Chrome. You can see server-side events in your Facebook Business Manager.

 

Category Page

  • Option to type page handles (full action names) where you want category-related code.
  • Option to type event name you want to use for category tracking.
  • Options to add custom parameters to your category related event with parameters to attributes mapping. Example:  google_product_category=google_product_category|name=name. The format is simple param1=attribute1|param2=attribute2 Facebook Pixel custom parameter and Magento category attribute are connected by = sign and pairs are separated by | sign.

 

AddToCart, AddToWishlist, ViewContent Events

  • Option to type page handles (full action names) where you want product-related code.
  • Option to select SKU you want to use for bundle products.  Options: Product SKU as (id), Children SKUs as (id)s, Children SKUs as  (id)s and Product SKU as (item_group_id)
  • Option for content_type to use product_group instead of product for bundle products.
  • Option to select SKU you want to use for configurable products.  Options: Product SKU as (id), Child SKU as (id), Child SKU as (id) and  Product SKU as (item_group_id)
  • Option for content_type to use product_group instead of product for configurable products.
  • Option to select SKU you want to use for downloadable products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for grouped products.  Options: Product SKU as (id), Children SKUs as (id)s, Children SKUs as  (id)s and Product SKU as (item_group_id)
  • Option for content_type to use product_group instead of product for grouped products.
  • Option to select SKU you want to use for simple products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for virtual products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to use content_ids instead of contents for ViewContent event.
  • Option to type Magento product attribute code you want to use for the global content_name parameter.
  • Option to type Magento product attribute code you want to use for the global content_category parameter.
  • Options to add custom parameters to your product-related events with parameters to attributes mapping. Example:  google_product_category=google_product_category|color=color. The format is simple param1=attribute1|param2=attribute2 Facebook Pixel custom parameter and Magento product attribute are connected by = sign and pairs are separated by | sign.

 

Checkout Page - InitiateCheckout Event

  • Option to type page handles (full action names) where you want quote-related code.
  • Option to select SKU you want to use for bundle products.  Options: Product SKU as (id), Children SKUs as (id)s, Children SKUs as  (id)s and Product SKU as (item_group_id)
  • Option to select SKU you want to use for configurable products.  Options: Product SKU as (id), Child SKU as (id), Child SKU as (id) and  Product SKU as (item_group_id)
  • Option to select SKU you want to use for downloadable products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for grouped products.  Options: Children SKUs as (id)s, Children SKUs as (id)s and Product SKU  as (item_group_id)
  • Option to select SKU you want to use for simple products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for virtual products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to type parameter name if you want to use Magento quote ID.
  • Options to add custom parameters to your quote-related event with parameters to attributes mapping. Example:  google_product_category=google_product_category|color=color. The format is simple param1=attribute1|param2=attribute2 Facebook Pixel custom parameter and Magento product attribute are connected by = sign and pairs are separated by | sign.

 

Checkout Success Page - Purchase Event

  • Option to type page handles (full action names) where you want order-related code.
  • Option to select SKU you want to use for bundle products.  Options: Product SKU as (id), Children SKUs as (id)s, Children SKUs as  (id)s and Product SKU as (item_group_id)
  • Option to select SKU you want to use for configurable products.  Options: Product SKU as (id), Child SKU as (id), Child SKU as (id) and  Product SKU as (item_group_id)
  • Option to select SKU you want to use for downloadable products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for grouped products.  Options: Children SKUs as (id)s, Children SKUs as (id)s and Product SKU  as (item_group_id)
  • Option to select SKU you want to use for simple products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to select SKU you want to use for virtual products.  Options: Product SKU as (id), Product SKU as (id) and Parent SKU as  (item_group_id)
  • Option to type parameter name if you want to use Magento order ID.
  • Option to type parameter name if you want to use Magento order increment ID.
  • Option to type parameter name if you want to use Magento quote ID.
  • Options to add custom parameters to your order-related event with parameters to attributes mapping. Example:  google_product_category=google_product_category|color=color. The format is simple param1=attribute1|param2=attribute2 Facebook Pixel custom parameter and Magento product attribute are connected by = sign and pairs are separated by | sign.

 

Search Result Page - Search Event

  • Option to type page handles (full action names) where you want search-related code.
  • Option to type event name you want to use for search tracking.
  • Option to type parameter name you want to use for search tracking.
  • Option to type request parameters you want to include for search tracking.

 

Data Processing Options

  • An easy way to enable or disable Data Processing Options.
  • Option to type Data Processing Options as a comma-separated list.
  • Option to type Data Processing Options Country
  • Option to type Data Processing Options State

 

FAQ

Q: Facebook Server-Side API does not work?
A: Facebook deprecated v6.0 of the Server-Side API. Go to our extension config and for Facebook API Version option type v7.0 or newer, then refresh your Magento cache (System > Cache Management) and you are done. 

Q: Is it possible to add the Facebook Pixel to other Magento pages or extension pages?
A: Yes it is. In our extension, config just uses the option "Add Facebook  Pixel To" and type your page handle (full action name). For example, if you want to add Facebook Pixel to a blog page and that blog page handle is "blog_post_view", you would type this into "Add Facebook Pixel To" at the end. Page handle depends on a particular extension this is just an example. Do not forget to Refresh your Magento Cache.

Q: When I check my product pages with the "Facebook Pixel Helper"  extension for Chrome the AddToCart and AddToWishlist events have orange triangles with warnings?
A: The "Facebook Pixel Helper" extension for Chrome does not understand  JavaScript/jQuery that is why on page load you have orange triangles for  AddToCart and AddToWishlist events. If you read the warnings of the  "Facebook Pixel Helper" there is an explanation: "We detected event code but the pixel has not activated for this event, so no information was sent to Facebook. This could be due to an error in the code, but could  also occur if the pixel fires on a dynamic event such as a button  click." AddToCart and AddToWishlist are dynamic events triggered by a  button click. After you click a button they will become green. This has nothing to do with our extension nor Facebook Pixel, it is the behavior of the "Facebook Pixel Helper" extension for Chrome. In short, this is normal. 

Technical Specifications

Back to top

Seller profile

Apptrian LLC

Seller contact

E-mail

Integrator

Facebook Business

Current Version

4.1.0

Magento platform compatibility

Open Source (CE): 2.0, 2.1, 2.2, 2.3, 2.4

Commerce on prem (EE): 2.2, 2.3, 2.4

Commerce on Cloud (ECE): 2.2, 2.3, 2.4

Type

Stable Build

Updated

06 August, 2020

Categories

Extensions, Marketing, Marketing Automation, Advertising

Quality Report

Back to top

Installation & Varnish Tests

Passed

Coding Standard

Passed

Plagiarism Check

Passed

Malware Check

Passed

Marketing Review

Passed

Manual Testing

Passed

All tests were conducted on the latest versions of Magento that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.

Release Notes

Back to top

4.1.0:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3 2.4
  • Compatible with Commerce on prem (EE) : 2.2 2.3 2.4
  • Compatible with Commerce on Cloud (ECE) : 2.2 2.3 2.4
  • Stability: Stable Build
  • Description:

    + Added Facebook Data Processing Options
    * Compatibility with CSP (Content Security Policies)

4.0.1:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Compatible with Commerce on prem (EE) : 2.2 2.3
  • Compatible with Commerce on Cloud (ECE) : 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Fixed edge case issue when someone comes to the checkout page with an empty cart

4.0.0:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Compatible with Commerce on prem (EE) : 2.2 2.3
  • Compatible with Commerce on Cloud (ECE) : 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Complete rewrite
    * Fixed CompleteRegistration event
    * Improved detection of selected SKUs with selected quantity and price
    + Added Facebook Server-Side API
    + Added options to enable or disable individual events for both pixel and server-side API
    + Added options to move parameters outside contents

3.0.1:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Compatible with Commerce on prem (EE) : 2.2 2.3
  • Compatible with Commerce on Cloud (ECE) : 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Fixed quote and order item_price to include or exclude tax based on Magento config
    * Fixed detection of SKU prices when both include and exclude tax prices are present

3.0.0:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Compatible with Commerce on prem (EE) : 2.2 2.3
  • Compatible with Commerce on Cloud (ECE) : 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Complete rewrite
    + Track with multiple FB Pixels
    + Add FB Pixel to any page via Magento admin without coding.
    + Option to choose a category event name
    + Option to map Magento category attributes to custom parameters
    + Option to select SKU you want to use for bundle products (Product SKU, Children SKUs, or Both) (For Product, Quote, and Order)
    + Option to detect selected SKUs for bundle products
    + Option to select SKU you want to use for configurable products (Product SKU, Child SKUs, or Both) (For Product, Quote, and Order)
    + Option to detect selected SKU for configurable products
    + Option to select SKU you want to use for downloadable products (Product SKU, or Product SKU and Parent SKU) (For Product, Quote, and Order)
    + Option to select SKU you want to use for grouped products (Product SKU, Children SKUs, or Both) (For Product, Quote, and Order)
    + Option to detect selected SKUs for grouped products
    + Option to select SKU you want to use for simple products (Product SKU, or Product SKU and Parent SKU) (For Product, Quote, and Order)
    + Option to select SKU you want to use for virtual products (Product SKU, or Product SKU and Parent SKU) (For Product, Quote, and Order)
    + Options for content_type to use product_group instead of product for the bundle, configurable, and grouped products
    + Option to use content_ids instead of contents for ViewContent event
    + Options to type Magento product attributes code you want to use for the global content_name and content_category parameters
    + Option to map Magento product attributes to custom parameters
    + Options to type parameter name if you want to use Magento order ID, order increment ID, quote ID
    + Options to type event and parameter name you want to use for search tracking
    + Option to type request parameters you want to include for search tracking
    + Added external_id that maps to customer ID for Advanced Matching

2.2.3:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Fixed Advanced Matching and Magento v2.3
    * Improved validation of config input fields
    * Improved config according to latest Magento guidelines

2.2.2:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Fixed new line issue in JSON objects
    * JavaScript and RequireJS improvements

2.2.1:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Stability: Stable Build
  • Description:

    * Fixed template file Advanced Matching JSON object quotes

2.2.0:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Stability: Stable Build
  • Description:

    + Added Advanced Matching (if the customer is logged in)
    + Added Options to add custom parameters to your product related events with parameters to attributes mapping
    * Updated code comments

2.1.6:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    * Small alteration recommended by Facebook

2.1.5:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    * Fixed small bug regarding configurable products price
    * Small code improvements

2.1.4:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    * Fixed product prices to include/exclude tax depending on Magento configuration
    * Fixed currency conversion if currency is different than base currency

2.1.3:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    * Fixed event code on checkout success page (double escaping of content_ids)
    * Fixed event code on CMS and Category pages

2.1.2:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    * Compatibility with Magento 2.2

2.1.1:

  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    + Compatibility with onepagecheckout extension
    * Fixed composer.json file PHP version requirements

2.1.0:

  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    + Facebook Dynamic Ads code
    + Compliance with Magento's Extension Quality Program (EQP)

2.0.1:

  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    * Fixed small bug in admin blocks
    * Fixed composer.json file

2.0.0:

  • Compatible with Open Source (CE) : 2.0
  • Stability: Stable Build
  • Description:

    * Complete rewrite from the ground up

Support

Back to top

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Contact Vendor

Q & A

Back to top

Reviews

Back to top