Adding "Pixel Code" To a Footer

Chirs_Nunez
New Member
1 0 1

I need to know where it add this code to the footer section of the page... I can not find the code to edit.

"Whoever runs the back end will need to paste this below code on every page of the design shop website."

Base Pixel Code:

<!-- Facebook Pixel Code -->

<script>

!function(f,b,e,v,n,t,s)

{if(f.fbq)return;n=f.fbq=function(){n.callMethod?

n.callMethod.apply(n,arguments):n.queue.push(arguments)};

if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';

n.queue=[];t=b.createElement(e);t.async=!0;

t.src=v;s=b.getElementsByTagName(e)[0];

s.parentNode.insertBefore(t,s)}(window, document,'script',

'https://connect.facebook.net/en_US/fbevents.js');

fbq('init', '207837840830655');

fbq('track', 'PageView');

</script>

<noscript><img height="1" width="1" style="display:none"

src="https://www.facebook.com/tr?id=207837840830655&ev=PageView&noscript=1"

/></noscript>

<!-- End Facebook Pixel Code -->

 
KetanKumar
Shopify Partner
20503 2120 7734

@Chirs_Nunez 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
suyash1
Shopify Partner
3007 328 503

@Chirs_Nunez - in most of the cases this pixel code is added after <head> tag which you will find in theme.liquid file, you can paste immediately so 

<head>

pixel code

.

.

.

.

</head>

 

or if you want to add to footer then please add just before </body> in same theme.liquid file

You are welcome to contact me, my email - suyash.patankar@gmail.com
Free Shopify solutions/tutorials on youtube
#1 page builder app on Shopify - for FREE! PageFly
0 Likes
LitExtension
Shopify Partner
1210 155 216

Hi @Chirs_Nunez

Go to file layout > theme.liquid and add code in <head>. Ex: https://i.imgur.com/1e4j9uQ.png

Hope it helps!

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes