Our company started working with a Marketing agency that has asked us to trigger a Facebook pixel from button onClick. We are trying to track each time someone selects to buy tickets for one of our concert events. Can someone tell me if putting it in the onClick event for the button (as noted below) is the right way to do that?
export function button59_click ( event ) {
// This function was added from the Properties & Events panel. To learn more, visit Velo: Working with the Properties & Events Panel | Help Center | Wix.com
// Add your code for this event here:
< img src = “[link text]=######;g=band-get-tickets;gid=#####;ord=[uniqueid]” height = “0” width = “0” border = “0” />
}
The expectation is that each band will have its own pixel so we can track when guests move from our site to the third party ticketing site.