Streaming live at 10am (PST)

Facebook event pixel implementation in a button


Hi, I'm working on installing the Facebook pixel and have a simple question:

I'd like to install the "Initiate Checkout" pixel to fire when a user clicks a button on my header. Where should that event pixel code go?

Thank you!


If that button on the header changes the URL (navigates to the new page) I'd put the pixel there.


Yeah, unfortunately it navigates to an outside URL so I can't change the
code on the landing page. Any other ideas for implementing code to track
button clicks? Thank you!