[Resolved] Can Hooks be used to insert Facebook pixel code?

Home Forums Support Can Hooks be used to insert Facebook pixel code?

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

    Hi

    Can I use hooks to insert facebook pixel javascript code into the header and fb view_page into the body of a page?

    Thanks. MJ

    GP Premium 1.3.1
    #356477
    Leo
    Staff
    Customer Support
    #356808
    mmarvel

    Thanks Leo.

    I’m not quite sure the difference between these

    wp_head vs before header <— they both seem like before <head>

    header vs after header <— both seem like before </head>

    before content is before <body> ?? but then that would also be before </head>

    before footer is like before </body> ??

    I’m little confused since i’m just use to putting code in before </head> , after </head> or before footer usually before </body> so could you either point me to where these are covered in your doc’s or give me the overview.

    My apologies if this is already covered somewhere.

    B/R Martha

    #356836
    Leo
    Staff
    Customer Support

    wp_head is a standard WordPress hook that is more to store like functions, Google Analytics.

    Before header is more for regular HTML contents.

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