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!
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!
You can add Google Tag Manager code to track custom events like link clicks.
See
Tracking Link Click on Google Tag Manager
How to Capture Link Text on Event Click with Google Tag Manager
Google tag manager Click tracking not working
How to configure Google Tag Manager to track link clicks on the same page