BACK

how to install pixel code on shopify

Install Facebook Pixel MANUALLY to a Shopify Store hi everyone welcome back to a new video,in this v

Twinkle PPC

Updated on Feb 20,2023

Install Facebook Pixel MANUALLY to a Shopify Store

The above is a brief introduction to how to install pixel code on shopify

Let's move on to the first section of how to install pixel code on shopify

Let TThunt's experts help you find the best TikTok product on your Shopify business!

Find TikTok products (It's Free)
No difficulty
No complicated process
Find winning products
3.5K Ratings

WHY YOU SHOULD CHOOSE TTHUNT

TThunt has the world's largest selection of TikTok products to choose from, and each product has a large number of advertising materials, so you can choose advertising materials for TikTok ads or Facebook ads without any hassle.

how to install pixel code on shopify catalogs

Install Facebook Pixel MANUALLY to a Shopify Store

hi everyone welcome back to a new video,in this video i'm going to show you how,you can install a facebook pixel code,manually on your shopify store,when you try to install a facebook pixel,code through facebook app on your,shopify store it's really easy all you,need to do is just connect your facebook,account connect your facebook business,manager account then connect your page,and eventually your facebook pixel,but if there are some issues like you do,not have access to business manager,account or you do not have admin access,to any page or even admin access to the,pixel then there are some issues and you,are left with no other option than to,install the pixel code manually and,that's what i'm going to show you in,this video so the first thing which you,need to do is copy the pixel code from,your facebook ad manager account uh to,make it things easier i have already,copied it here on notepad the only,difference would be you'll have a page,id here in in place of x and you will,have another page id here in place of x,so i have just removed the page id of,the actual page for which this pixel,code uh was copied for now the other,thing is,when you copy your pixel code from your,ad manager account you won't have this,three lines of codes,what this three lines of code means is,facebook pixel is going to track,one more event in addition to the page,view event and that is the purchase,event,and the purchase event will have a value,and will have the currency,now when you just copy it by default,without making any changes you won't,have these three lines of code and if,you copy this code without the three,lines,and paste it on your shopify store,manually you will only be able to track,page view events and not add to cart,events or purchase events or any other,events,so in order to do that,make sure that your facebook pixel code,has the event codes as purchase event,code or add to cart event code or any,other event code right now i'm only,going to show you how to track a page,view and how to track a purchase event,because,the urls on which a shopify store works,specifically for basic plan is,the whole checkout process uh gets,carried on on a different url for each,user and,at last there is a thank you page but,then the url of the thank you page is,different for every single user who,completes the checkout with a different,order id or order status page so in,order to fix this what we can do is uh,let's say first we are trying to install,the pixel code manually on the store,and in the second step we'll install the,pixel code,manually on the order status page or the,checkout page so that we can,track the purchase events,so let's do first thing let's copy it,actually first remove these three lines,of code and now i'm going to copy this,and just going to press ctrl z so that i,can paste those three lines back as it,is,now i'll go to settings,sorry not settings go to online store,and then go to themes,from themes go to actions,and edit code,from here go to theme.liquid,and under header tag you can paste your,pixel code for the page view event and,click save,once it is saved now go back to settings,go to checkout,scroll all the way down,and you will find,another option called additional scripts,under additional scripts you will see an,option order status page and you will,have to paste this whole code including,these three lines that is the purchase,event with value and currency so let's,just copy it all,and paste it here and click save,so what this does is,it installs your facebook pixel code on,two different things one with just page,view event on your actual shopify store,and another with page view and purchase,event on your order status page and that,is because the order status page or the,checkout page is always on a unique url,for each user and it always has a unique,id in its url so we cannot,track purchase event directly but,shopify has this really easy feature,where we can just,paste the code one under the theme,section and other under additional,scripts on order status page so that we,can track the conversions well if we are,not able to connect the pixel,or our facebook account through the,facebook app so i hope guys you have,found this video helpful

Congratulation! You bave finally finished reading how to install pixel code on shopify and believe you bave enougb understending how to install pixel code on shopify

Come on and read the rest of the article!

Browse More Content