Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1087169

    What’s the most simple way to add a Facebook Pixel code to my site?


    Hey dnweil,

    You can add code to the header. If you should need code for only a specific page/pages then you would have to use a conditional statement like the is_page() function in WordPress, you can read more about it here: https://developer.wordpress.org/reference/functions/is_page/

    Best regards,
    Jordan Shannon


    Hey Jordan, Thank you for your reply. I am in over my head here. My skills are basic html and css.

    1. Can you point me very specifically to what the file name is I should be looking for in the theme and
    2. Is it as simple as inserting the code into the <head> [code] </head> section as Facebook directs?

    Thank you



    Yes, you want to go to the header.php files (Appearance >Editor) and paste the script in before the closing head tag.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.