Tagged: ,

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

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

    #1087298

    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

    #1087530

    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

    #1087609

    Hi,

    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.