Facebook order conversion tracking in PrestaShop Store

If you want to track the conversions that happen on your PrestaShop store as a result of ads that you’re running on Facebook, you can create a conversion tracking pixel to put on your store. Once you have the tracking pixel you need to embed it into your conversion page which is generally your Order Confirmation Page of PrestaShop. This can be done generally in two ways based on your technical skills and resources.

Method 1: Edit your theme file

If you are comfortable editing the PrestaShop theme files you can generally edit the header.tpl file and add the facebook tracking pixel code in the head tags. This might require some advanced programming effort since you need to make sure that the tracking pixel appears only on the header of the order confirmation page (your conversion page) and not on all the web pages on the website. This can become little tricky for non-programmers or one with limited programming skills. Further every time you need to change the pixel id you need to edit your theme files which could be cumbersome and time consuming.

Method 2: Add the code using a PrestaShop module

This method is pretty easy and does not require any programming skills. All you need to  do is to download & install the module and configure it from your Prestashop backoffice. The nifty little module that helps you adding Facebook conversion tracking code on your PrestaShop store is called Facebook order conversion tracking code manager and is available for purchase & download on the PrestaShop Addons Market place.

Once you have installed the module all you need to do is to activate the module from the PrestaShop backoffice >> Modules section and, then just input the tracking pixel id by clicking the configure link on the module page. See below screenshots

Step 1

Install & Configure the Prestashop Module

Step 2

Addiing Facebook conversion tracking pixel id

With this module you now don’t need to edit the theme files and you don’t need any programming knowledge. Also you can change the tracking pixel id anytime in future without any hassles.