Access: Facebook -> Facebook Pixel & Conversion Tracking

or Facebook Pixel & Conversion Tracking 2

Facebook Pixel is designed to track your website traffic from those Facebook users who already login their Facebook account on their machine and browse your website. For more information, you may refer here.

Here we will cover:

  1. Generate Facebook Pixel Code
  2. The use of Facebook Pixel & Conversion Tracking 2 (Basic)
  3. The use of Facebook Pixel & Conversion Tracking (Advanced)
  4. Methods of integrating Facebook Pixel

 

Generate Facebook Pixel code

Kindly go to Facebook Ads Manager page to generate Facebook Pixel code. You may refer Facebook for the guidance. Below are the sample outcome of Pixel Base Code and Standard Event Code.

 

Pixel Base Code (Basic)

Standard Event Code (Advanced)

 

Facebook Pixel & Conversion Tracking 2 (Basic)

It is used to paste entire pixel base code on every page of your website. This is to track number of Facebook users who have browsed your website.

Go to Facebook, Facebook Pixel & Conversion Tracking 2, enable the status, paste the pixel base code, click Save and Clear Cache button.

Facebook Pixel & Conversion Tracking (Advanced)

It is used for conversation tracking with provided standard event code, which you can track more details like the number of Facebook users who have performed search, add to cart, place order and etc on your website.

Go to Facebook, Facebook Pixel & Conversion Tracking, enable the status, click Add New Facebook Pixel Module, enter title and select route in Unicart, paste the pixel base code with event code, click Save and Clear Cache button.

Below are the routes suggested to put standard event code.

Route Standard Event Code
checkout/checkout fbq(‘track’, ‘InitiateCheckout’);
checkout/success fbq(‘track’, ‘Purchase’, {value: ‘25.00’, currency:’MYR’});
account/register fbq(‘track’, ‘Lead’);
account/success fbq(‘track’, ‘CompleteRegistration’);
product/search fbq(‘track’, ‘Search’);
checkout/cart fbq(‘track’, ‘AddToCart’);
account/wishlist fbq(‘track’, ‘AddToWishlist’);
product/category
product/product
product/special
fbq(‘track’, ‘ViewContent’);
information/information
common/home
no event code required and insert pixel base code only.

 

When Facebook users browse your website where the pixel code exists, it will be recorded on Facebook Pixel end.

12

Methods of integrating Facebook Pixel

There are several ways to integrate Facebook Pixel on your website.

  1. Use Facebook Pixel & Conversion Tracking 2 to paste the pixel base code and track the traffic only.
  2. Use Facebook Pixel & Conversion Tracking for conversion tracking on certain pages / routes only.
  3. Use both Facebook Pixel & Conversion Tracking 2 and Facebook Pixel & Conversion Tracking to track together.