Facebook Pixel Installation

Hello,

did you figure out what is the easiest way to install Facebook Pixel on Bubble website?

Thanks!

Just paste the code in the bubble app SEO settings. If you need custom event tracking just do it with JS to trigger events.

1 Like

Thank you, that is working!
Can you explain more how to use JS to trigger events?
Should I put some script in the body or more like HTML?

Use the toolbox plugin to trigger js

Function fbLeadEvent() {
window._fbq.push(‘track’, ‘Lead’);
}

Ex) standard pixel will get page views but for things like lead, view content, custom events, add to cart, purchase, etc you’ll need to trigger with JS. You can and should append additional info on things like purchase like the amount based on fb events documentation.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.