Manually add Facebook Pixel to Debut theme

StevieD
Visitor
2 0 4

Greeting Shopify Community! I would like to manually add my Facebook Pixel to my Debut theme ... any ideas? I'm not interested in setting up Facebook as a sales channel, so I want to manually add the pixel code to my theme. I know how to do this with a WordPress site, but need advice on how to do this for my Shopify store. Would I simply add the pixel code just above the </header> closing tag (on or about line 247) in the sections/header.liquid file of the Debut theme? Please let me know ... thank you!

Replies 2 (2)

StevieD
Visitor
2 0 4

Hi Guys! It seems I solved this on my own ... success? For those who are interested, in the Debut theme there's Layout/theme.liquid file. In that file, I added the FB pixel right before the </head> closing tag and ... it works! Yes, success!

Hui-Nax
Visitor
1 0 0

Did you had to added in every page?
although I understand that the theme.liquid is a general unique file in debutify