Advanced marketers may want to include Facebook Pixels in their project pages to track the success of their Facebook ad campaign. You can do this on a project by project basis, as described below, or for your entire site by pasting your Pixel code into the custom tracking field in your site settings. In either case, if your Pixel is included but does not fire, get in touch with us.

NOTE: This is advanced. Only proceed if you feel confident you understand this. If not, please ask us!

(This is an outlined approach for one project at a time and if you need it for the entire site, please contact support)

Here is how to include the pixel in any EHQ project page:

Go into the project where you want to place the pixel and set up a custom widget.

Follow the steps one through five.

  1. Rename the widget
  2. Hide the widget title
  3. Click on </> to paste the code, which will look similar to the below
  4. Paste the code
  5. Press save

In the sixth step, move the widget to the top of your widget order. This widget is active, but shouldn't show on the page because you have hidden the title and there is no visible content. However, the code will still be executed.

If you need to adjust the code, you will have to go through steps 3-5 again. You can NOT edit existing code!

The Facebook Pixel code will look similar to this:

<script>(function() {

var _fbq = window._fbq || (window._fbq = []);

if (!_fbq.loaded) {

var fbds = document.createElement('script');

fbds.async = true;

fbds.src = '//';

var s = document.getElementsByTagName('script')[0];

s.parentNode.insertBefore(fbds, s);

_fbq.loaded = true;



window._fbq = window._fbq || [];

window._fbq.push(['track', '77778787878', {'value':'0.00','currency':'AUD'}]);


<noscript><img height="1" width="1" alt="" style="display:none" src="" /></noscript>

The data collected by the Facebook pixel which has been embedded will only be available on Facebook and not in the EHQ reporting. 

Did this answer your question?