Jump to content


Photo
- - - - -

Where to paste Facebook Conversion Pixel Code


  • Please log in to reply
3 replies to this topic

#1 pagerun

pagerun

    Advanced Member

  • Members
  • 42 posts

Posted 16 November 2013 - 01:27 AM

I'm wondering where do I paste the Conversion Pixel Code, for Facebook, on one specific page only? It is javascript code that is supposed to into the head section of the code.

 

I'm using Pagelines Framework.

 

Thanks!



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 16 November 2013 - 08:15 AM

Hi there, all header scripts can be placed in PageLines>site options>custom code>header scripts. The box is below the one where you'd usually paste all your cusotm css.



#3 pagerun

pagerun

    Advanced Member

  • Members
  • 42 posts

Posted 16 November 2013 - 08:27 AM

Although I need to paste it on one particular page only (not all pages, which is what happens when you paste it into the site options -> custom code)



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 17919 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 17 November 2013 - 10:17 AM

Hi

 

In order to insert that code onto a particular page, you will need to use a hook and include the is_page() function. Fore more information on hooks see our documentation here - 

Please Login or Register to see this Hidden Content