so you've been running your shopify,store for a while now and you've been,installing shopify apps here and there,and,as time goes by you decided to clean up,your store and remove the apps that you,don't really need anymore,because you know that these apps can,slow down your shopify store and you,don't want that,but when you deleted the app you notice,that it didn't really improve your store,performance or speed,so why is that well in this video we'll,take a look at how to improve your,shopify store speed and performance,stay tuned for that,this video is sponsored by hostinger if,you're looking for a domain that you can,use for your shopify store,hostinger is one of the cheapest domain,provider you can try and connecting your,hosting or domain to shopify,is as easy as getting past the no nut,nope check the link in the description,below to get started,so there are a few reasons why your,shopify store speed is still the same,number one reason is the app don't,really slow down your store in the first,place,or it doesn't really make any changes to,your front end,the second reason is that the apps that,you deleted left a bunch of snippet,codes that weren't removed by the app,in other words the app gave you a bunch,of trash that you need to clean up,yourself,what a bunch of ass right so i'll be,showing you some tips and tricks how you,can clean up your shopify store and,ensure that you can remove the junk,created by the apps you deleted,before all that make sure that you,actually know your way around of your,shopify store,especially with the theme files and also,always make a backup,of your theme especially when you start,making a shopify store,a lot of beginners make this mistake,where they just create a shopify store,and they don't make a backup,of their theme and when they check their,assets file,they have no idea which one originally,came with a theme,and which one is the file that were,added by the apps,so always make a backup of your,theme so you can also retrieve a file,especially if you accidentally deleted a,file,all right so let's go through the steps,of how to remove the unused codes or,files from your shopify store,so first let's go to our themes so it,must be in our online store and themes,and then we'll select actions and edit,code this will open the following page,where we can access all of the files in,our theme so let's open the,themes.liquid,so the first thing that we need to do is,to scan through our theme that liquid,file so what i do usually is to use,search,and then type in here open angle bracket,percentage sign and then space and type,the word include,and that will give us the following line,so we have here,include judgement core and there must be,another one all right so we have,here include sumo so we have two files,being referenced in our theme that,liquid now the next step is to check if,this file is actually being used by,shopify app,or not so let's open our apps page,and then remember that this is called,judge me core and if we open our apps,page,let's look for judgement and as you can,see here there is a,judge me product reviews app so there's,a possibility that,this file this file being referenced in,our theme that liquid file,is being used by judgeme product reviews,so we don't want to remove that and then,the other one,is sumo so let's check if there is sumo,in here,and there is no sumo and that means,there's a possibility that this,line is actually unused though i highly,recommend double checking because,there are cases that the file is being,used by a different,app but developed by the same company,and then the file being referenced as,the name of,the company so if you want to delete,this code you can do it,and then just try if it costs an error,or,if not then that means it's deletable or,you can delete it so let's just,remove this and if i save this and i'll,open my store,if i refresh this and i'll try to open,the inspect window and then console,and see if i get any errors as you can,see i have an error in here,but i'm not sure if it's related to sumo,or not so let's try to undo our changes,so,i'll put the include sumo back i'll save,it once again,and let me refresh my store once again,and see if this errors,if this error still remains so let me,refresh that,and then as you can see the error is,still there then that means sumo is not,the reason,why there's an error so let's just,remove this we don't need it anymore and,i'll save this,and let's check that error so as you can,see it says uncut,reference error jquery is not defined,and as you can see in here it is cost it,is from the cross.js,so we can hover that and as you can see,there's a url that says cdn,eggflow.com so that means this file is,coming from eggflow so let's actually,check,if we have an app that was created by,eggflow.com,so let me open my apps page and i have,in here a bunch of apps so let me just,check,about or if you want you can open your,browser and um type in here shopify,um app eggflow ag flow as you can see i,have here apps by eggflow so let me just,open that,and these are the apps that were created,by eggflow so,i think i have instant traffic and ads,so let me open my app and there you go,yeah i have instant traffic so,maybe there's something going on in this,app that we can,try to fix if not then you can contact,their,their developer or you can contact um,support,and tell them that there's an error,related to,jquery actually with sumo we can delete,this now we don't need us anymore so we,can just delete the file,and delete that and that is how you,remove the unused files from your,shopify store,now there are other factors that can,affect your shopify store speed and,performance,one of them is the images in your store,that's why i highly recommend using,website tools like gt metrics,or google speed insights these tools can,help you determine what are the things,that can slow down your shopify store,or what are things that slow down your,shopify store,for image related issues for example,your images are very heavy,then i highly recommend tinyjpg.com,it is one that i used and it's really,effective for making your images lighter,and this can really speed up your,website,so that's pretty much it for this video,if you have any questions let me know in,the comments below,and let's have a conversation down there,thank you for watching and i'll see you,in the next one,bye,you
Congratulation! You bave finally finished reading how to remove unused javascript in shopify and believe you bave enougb understending how to remove unused javascript in shopify
Come on and read the rest of the article!