Home>Support>Integrate facebook pixel in a page builder web site

Integrate facebook pixel in a page builder web site

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

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 3 months ago Alex S
    Hi, I Work Here

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More