I am using Facebook Pixel on a wordpress site.
Facebook pixel requires the base code loaded in the head on all pages, so I have loaded that in the template but page-specific code needs to be inserted on the specific pages. e.g. Требования к стандартным событиям пикселя Facebook | Справочный центр Facebook Business:
Using shortcodes, the code snippet is inserted within the page, not the head. Is this ok? If not, how should it be done?
Facebook pixel requires the base code loaded in the head on all pages, so I have loaded that in the template but page-specific code needs to be inserted on the specific pages. e.g. Требования к стандартным событиям пикселя Facebook | Справочный центр Facebook Business:
Using shortcodes, the code snippet is inserted within the page, not the head. Is this ok? If not, how should it be done?