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 EnagagementHQ project page:
Go into the project where you want to place the pixel and set up a custom widget.
Follow steps one through five.
Rename the widget
Hide the widget title
Click on <> to paste the code, which will look similar to the below
Paste the code
Click on < > icon again
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 = '//connect.facebook.net/en_US/fbds.js';
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'}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?...." /></noscript>
Here is how to add the pixel code for the entire site
Go to the Site settings > Custom Code > add the code inside <head> section as shown below.
The data collected by the Facebook pixel which has been embedded will only be available on Facebook and not in the EnagagementHQ reporting.
Contact us via chat or send us an email at support@engagementhq.com