Inserting a Conversion Pixel into a content area modal

Hi there I am trying to place a conversion pixel from out marketing team which gets triggered once the user clicks on the content area model but I am unsure how to proceed.

Please advise

Hi,

You can add a unique class toy our content modal element.

Then add something like this in Theme Options > JS

jQuery( ".gp-modal" ).on( "click", function() {
   fbq('track', 'ContentModal');
});

For more information, kindly refer to the links below

https://developers.facebook.com/docs/marketing-api/audiences-api/pixel#inpageevents


Hope that helps

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.