How to add a Facebook Pixel

Avatar

By Shea Bunge

updated 2 months 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?