Facebook event code fire on image click?


#1

Is there a way to get a Facebook pixel event code to fire when an image is clicked? I tried using this code

but i got the error “The Facebook pixel code on this page didn’t load, so no information was sent to Facebook.” from the Facebook pixel helper.

I can’t tell if this is because the FB pixel is firing (from GTM) after this javascript code is loaded (Unbounce) or something else.

any ideas? I can send over a link if that helps.