Quick answer
The safest way to find leftover app code is to duplicate the theme, search for the app name and script handles, inspect theme.liquid and app-named snippets, then test the duplicate before publishing.
Symptom
You suspect an app left code behind, but you do not know where Shopify apps usually inject code or what is safe to remove.
Most likely causes
- theme.liquid snippets. Older app installs often add render/include lines near the head, body, or footer.
- footer.liquid or layout files. Tracking and widget apps may load near the bottom of the page.
- App-named snippets. Files can be named after the app or vendor.
- Sections/assets. Some apps add sections, assets, CSS, or JS files.
- Theme app embeds. Modern apps can be disabled in the theme editor, but older code may still exist.
Quick checks
- Duplicate the theme.
- Search for the app name in Edit code.
- Search for the app’s domain or script URL if you know it.
- Search for snippet calls like render/include lines with the app name.
- Check theme.liquid, footer, snippets, sections, assets, and config/settings_data.json.
- Preview the duplicate after removing a small piece at a time.
Theme, app, or code checks
- Use DevTools Network to see what third-party scripts still load.
- Use page source search for old app names.
- Compare a fresh copy of the theme if available.
- If the app modified checkout, pixels, customer events, or theme app embeds, check those admin areas too.
- If files show modified history/timeline, inspect edits around the app install period.
When to stop guessing
Do not delete mystery code on the live theme. If you cannot tell whether a line belongs to the old app, ask the app developer or work on a duplicate theme and test product page, cart, search, and checkout-adjacent flows.
Prevention checklist
- Keep a copy of the theme before app installs.
- Record manual install snippets in a store changelog.
- Use app-provided uninstall steps before deleting the app.
- After uninstall, test the storefront and run a code search before assuming cleanup is complete.

