How to install facebook pixel base code with Pavilion theme

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeHow to install facebook pixel base code with Pavilion theme

This topic has been marked as not a support question.


We need to install facebook pixel base code with Pavilion theme, in order to track customers coming from Facebook Ads. Facebook doesn’t have a step by step guide for this theme, so I would appreciate if you could guide me through it, please.

Facebook states the following:


Locate the header code for your website.You must install the pixel base code into the header code of every page of your website. This lets you get data about all page views on your website, to establish a baseline for measuring specific events. Find the <head></head> tags in your webpage code, or locate the header template in your CMS or web platform.


Install Event Code

Events are actions that happen on your website, either as a result of Facebook ads (paid) or not (organic). Event code lets you track those actions and leverage them in advertising.

You can use the 9 standard events that Facebook pre-defines to track and optimize ads for conversions. To measure and optimize for more granular actions, you can add parameters to your events by using recommended or advanced installation options for your event tags (see below). You can also create custom events for actions important to your business that you define.

You must install event code on specific pages of your website where the actions will happen.

Then it states where the codes should be copied for each action.

Since facebook doesn’t offer detailed instructions, could you, please?

Would this be easier with some extension (is there one?), or is it better to do it manually?

April 3, 2017 at 6:54 pm #57986


We have prepared a vqmod that will insert this code in your website. More information can be found here:

ThemeBurn team

April 6, 2017 at 10:02 am #58081

We would like to proceed as you instructed, but we just lack the knowledge currently and need more help:

1. The Facebook pixel code structure first has a script/script part, which you said we should delete. But after this closing tag, there is a noscript/noscript code part. What should we do with that one?
2. Once we are sure we pasted the correct code into the vqmod code, how exactly do we upload the vqmod? Can you please provide a simple step by step task list we should follow? This would really help us.

Thank you very much in advance!

April 10, 2017 at 6:03 pm #58188


1) You can put the noscript part after the script part in the vqmod. Just like in the Facebook example.

2) Here is the official tutorial how to installvqmod and vqmod modifications:

ThemeBurn team

April 18, 2017 at 11:46 pm #58383

Hello TB Support, The links do not provide any intruction what to do with the resulting XML file with all the proper FB pixel code?

How is it supposed to work? Jsut upload viw FTP to the VQMod folder or what?

How can it be verified that its working?

December 10, 2018 at 8:59 pm #66479
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.