How can I remove unwanted JavaScript to speed up my store's loading time?

I created my store installing and uninstalling the third party apps . So if anyone help me to remove the unwanted codes to make the store load faster, I would appreciate it a lot. Thank you

Hello @ABISEKBISURAL ,

I’m Gina - Product Manager at flareAI. flareAI has helped Shopify stores generate $5+ million in sales from Google Search, on autopilot.

If it’s helpful to you, please let me know by giving it a like or marking it as a solution.

I would like to share a few suggestions.

Usually, Shopify apps will remove the code upon uninstallation they have added while adding the app. But some apps won’t.

I suggest following the below steps to remove the unwanted app code:

  1. Mostly the app code will be in the theme.liquid file. So take a backup of the theme.liquid.
  2. Check if the app name exists in the file OR search for lines of codes that begins with the following:
{% include 'the app name' %}
  1. If you find any hits, carefully remove the code
  2. Save the file and also check if the changes you made caused another error

I hope my suggestion will help you.

Happy selling!
flareAI