Tracking Facebook Pixel
Step 1: Add the following JS code after the Trigger action block
Immediately after the Trigger block, add a Javascript block and add the code shown below. This initialises the pixel code so that it can start listening to tracking events fired from the chatbot.
Step 2: Add the fire events code
Now, we will add the events that needs to be tracked on your pixel. To do this add a Javascript block immediately after the block whose event you want to track.
For example, in the screenshot below I want to track the event when someone fills the form after choosing Talk to sales.
Last updated