Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-12-07 03:02:02

powerfulphotography
Member
From: Wembley
Registered: 2017-12-31
Posts: 97
Website

Facebook Pixel

Where do I place my facebook pixels code?


If at first, you don't succeed try, try then go to the forum.
https://powerfulphotography.co.uk/

Offline

#2 2019-12-07 03:06:33

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Facebook Pixel

do you know where it's supposed to go in the page code?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-12-07 03:40:52

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Facebook Pixel

The facebook documentation says to put it in the header just before the </head> tag. You can use the phplugins head hook:

function head() { 
echo <<<HEREDOC

place_your_fb_pixel_code_here

HEREDOC;
} 

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB