apptrian-facebook-pixel-icon.jpg

Facebook Pixel
M2

TOTAL:
$39.99

Compatibility

Magento Platform
Open Source (CE)
2.0, 2.1, 2.2, 2.3
Commerce using on prem (EE)
2.2, 2.3
Commerce on Cloud (ECE)
2.2, 2.3

Tech Specifications

Seller:
Integrator:
Current Version:
3.0.0
Type:
Stable Build
Updated:
26 November, 2019
Categories:
Extensions, Marketing, Marketing Automation, Advertising
Policy:

Overview

Adds Facebook Pixel with standard events and Dynamic Ads code on appropriate pages. Supports Advanced Matching (if the customer is logged in) and has the ability to add custom parameters. Passes W3C validation. Easy to install and use.

Other Extensions by Apptrian

Overview

Back to top

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.

Apptrian's Facebook Pixel extension for Magento adds Facebook Pixel with Dynamic Ads code on CMS pages (including 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

General

  • 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.).
  • The code generated by our extension passes W3C validation.

 

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 detect selected SKUs for bundle products.
    WARNING! (see below)
  • 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 detect selected SKU for configurable products. 
    WARNING! (see below)
  • 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 detect selected SKUs for grouped products. 
    WARNING! (see below)
  • 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.

 

* WARNING!

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.

  

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.

 

FAQ

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. 

Release Notes

Back to top

3.0.0:

  • Compatible with Open Source (CE) : 2.0 2.1 2.2 2.3
  • Compatible with Commerce using 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

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.

Q & A

Back to top

Reviews

Back to top