Hello, Octatech,
Thank you for choosing XStore as your WooCommerce WordPress theme.
Please check this topic https://www.8theme.com/topic/how-to-insert-javascript-code-just-before-the-closing-tag/
or contact the support of Facebook pixel to get advice.
Kind Regards,
8theme team