In this article we’ll look at the various ways you can add a Facebook pixel.
There are 3 ways to add external scripts inside LeadsHoon
1 Account Level Scripts: Scripts and pixels you want to use in multiple decision trees. This can be client tracking codes


2 Decision Level Scripts: Script and pixels you want to only use in ONE decision tree. Generally these will be decision tree specific scripts such as tracking pixel for testing or decision specific CSS.


3 Node Level Scripts: Scripts and pixels want to fire or work at a node level. In the case of Facebook these will be Facebook events such as view content, leads etc.


Below are examples of the default Facebook Standard Events, you can check more Facebook Events on the link below
https://developers.facebook.com/docs/facebook-pixel/implementation/conversion-tracking#standard-events
Facebook Standard Event
<script>
fbq('track', 'ViewContent', {
content_name: '{_c_dt}',
content_category: '{_c_node}',
content_ids: ['{_c_question}'],
content_type: '{_c_answer}'
});
</script>
You can also use the lead event when you’re captured a LEAD.
<script>
fbq('track', 'Lead', {
content_name: '{_c_dt}',
content_category: '{_c_node}',
value: 0.50,
currency: 'USD'
});
</script>
Facebook pixel works on every page and node so these are applied to the whole decision tree.
You can add the pixel at the decision level or global level and then SELECT the pixel to be applied to each decision tree
Where to Find Your FaceBook Pixel
Login into Facebook Business Manager and go to Pixels…

Copy Facebook Pixel:

Paste it inside Global Scripts or Decision Tree Scripts as shown above…

Pingback: How to Create Custom Conversions inside FaceBook Using Standard Events or Custom Events) After Firing JS Events from LeadsHook | LeadsHook Knowledge Base
Pingback: How to Create a Custom Audience inside FaceBook Using Standard Events After Firing JS Events from LeadsHook | LeadsHook Knowledge Base