Hello
I d like to integrate custom events with facebook pixel (for facebook ads), and the source code given by facebook, needs to identify a button id, to raise an event.
Exemple : My Button
The problem is that with site origin page builder, the html generated doesn’t contain any id for the html elements, so i can’t put jquery that are going to raise the facebook pixel event, when the button or Href element is clicked
How can i surcharge the html or modify the html code generated to help be compatible with facebook pixel?
Thanks a lot
Hi Société,
> How can i surcharge the html or modify the html code generated to help be compatible with facebook pixel?
Unfortunately, it’s not possible to modify the HTML generated without a very high chance of issues occurring.
Would it be possible to set a row/widget id and then have it detect a link inside that row/widget? For example, #contact-us a? Alternatively, could you use a SiteOrigin Button widget? The SiteOrigin Button widget will allow you to natively set an ID on the button. For reference, you can do that by opening the SiteOrigin Button widget and opening the Other Attributes and SEO settings group – then set the Button ID as desired.