Caretaker: Store Monitor logo

Caretaker · Leftovers from apps

A script is written directly into your theme

Last updated: 2026-11-13

What Caretaker found

Your theme's main layout file (usually layout/theme.liquid) contains a line that loads a script from another website. This is how many services used to be added: tracking codes, chat widgets, reviews, pop-ups. Someone copied the line into the theme by hand, or an older app wrote it there.

Caretaker shows the service's name when it recognises it, and the file and line in Technical details.

This is marked Good to know: nothing is broken.

Why it matters

A script written into the theme is not tied to any app. Uninstalling the app or cancelling the service does not remove it, so it can keep loading on every page for years, slowing the store and, for tracking scripts, still collecting visits for an account nobody reads.

How to check

Ask yourself or your team: do we still use this service?

  • Yes: nothing to do. Choose Ignore so it no longer appears in your count.
  • No, or not sure who added it: remove it as below. If something stops working afterwards, you can put the line back.

How to remove it

  1. Go to Online Store → Themes, click … next to your live theme and choose Duplicate.
  2. On the copy, choose … → Edit code and open the file and line shown in Caretaker's technical details.
  3. Delete the <script …></script> line that loads the address Caretaker shows. If it sits inside a block of related code with a comment such as ``, remove the whole block.
  4. Save, Preview the copy, and if everything looks right, Publish it. Then press Scan now in Caretaker.

Working with a developer

Send them the report from Copy report. If you still use the service and it now offers a Shopify app with an app embed, they can move it there, so that it can be switched off in the theme editor and disappears when you uninstall the app.

When you can ignore it

Whenever you still use the service. Written-in scripts are a normal way to add things like a chat widget.

Related guides