How to add a Facebook Pixel


By Shea Bunge

updated about 1 year ago

Adding a Facebook Pixel to your site is easy with when using Code Snippets. When setting up the pixel, select Install code manually, and then create a snippet similar to the one below including your pixel base code:

add_action( 'wp_head', function () { ?>

<!-- paste pixel code here -->

<?php }, 1000 );

Did this answer your question?