App hygiene

Uninstalling an app cleanly, and what usually gets left behind

Uninstalling an app in the admin is not always the end of it. Where residue hides in a theme, what is safe to delete yourself, and when to ask the vendor.

The Liquid error a storefront shows when a render tag points at a snippet that no longer exists

What uninstall actually removes

Uninstalling revokes the access token, ends the recurring charge at the end of the current billing period, and stops the webhooks the app was listening to. If the app rendered through a theme app extension, its blocks stop rendering the moment it is gone, and the markup goes with them because it was never in your theme files. Script tags the app created through the API are removed by Shopify at the same time.

What survives is whatever was written outside that boundary: Liquid pasted into your theme, files uploaded under Content and Files, metafield values in a namespace the app shared with you or with another app, and any workflow or automation that referred to the app by name.

Where residue actually hides

Theme code first. Edit code, search the vendor name, and look for render or include tags and for script tags pointing at an external domain. A reference to a snippet that no longer exists shows up on the storefront as a line of text beginning with Liquid error, which is ugly but at least it announces itself.

Templates second. An app that created its own page template or its own section leaves those files in the theme, and they stay assigned to whatever page was using them. The page still loads. It simply loads without the feature, which is harder to notice than an error.

Metafields and metaobjects third. Definitions the app owned go when the app goes. Values written into a namespace you also use can remain, which is usually harmless and occasionally confusing when a new app reads them and draws a conclusion.

Then the small things, which are the ones that reach customers: a navigation link pointing at a URL the app used to serve, a customer facing page it created, a discount or an automation that only made sense while the app existed.

What is safe to delete yourself

Safe: a navigation link to a dead URL, a page you can see is empty, a file you uploaded yourself for that app. Also safe, with a duplicate of the theme sitting in the library first, removing a render tag that points at a snippet which no longer exists, because the error you are deleting is the error the missing file already causes.

Not safe without asking: anything inside a section your theme shipped with, anything in theme.liquid you did not add, and any metafield another app might be reading. Duplicate the theme before either kind of edit. It costs nothing and it turns a bad afternoon into one click.

When to ask instead

Ask the vendor two questions, ideally before you uninstall while you still have an account with them. Did you write anything into my theme, and how do I export the data I want to keep? A vendor who answers both clearly is telling you something useful about how the app was built. A vendor who cannot answer is telling you something too.

TreStack makes a countdown timer, so we will not tell you which timer app uninstalls most cleanly. We will tell you that the test is identical for every app, including ours: install it, publish it, remove it, then search your theme code for the vendor name and see what answers.

How to check this on your own store.

Four moves, in this order. Nothing here needs a developer, and nothing here touches your published theme until the last step.

  1. Export your data first

    Reviews, subscribers, balances, settings. Once the app is uninstalled, the export button goes with it.

  2. Duplicate the theme

    One click in Online Store, Themes. Everything after this step is now reversible.

    The live theme on the Shopify admin Themes page with its actions menu open: Duplicate in Canvas, Preview, Rename, Duplicate, Edit code, Edit default theme content and Download theme file
  3. Uninstall, then search the code

    Edit code, search the vendor name. Every hit is either residue or something a person deliberately added.

    An installed app's page in Shopify settings, with View in Shopify App Store, Write review, Get support, Uninstall app and Open app buttons above the app's name and its security checks
  4. Walk the storefront on a phone

    Home, product, collection, cart. Look for gaps, dead navigation links, and the words Liquid error.

We make a countdown timer and a bundles app, so we rank neither.

Clean uninstall is a claim every vendor makes, including us. The test in this guide is the one that settles it, and it does not need our opinion.

  1. No rankings where we compete

    No countdown timer, bundle, or checkout app shortlist, and none for reviews, where our next app is planned. Measurement methods, yes. Verdicts, no.

  2. No paid links

    Nothing on this page earns TreStack a commission, and no tool is named because naming it pays.

  3. Order is editorial, never commercial

    Nothing moves up a list because it pays more. A vendor cannot pay to be added and cannot pay to be removed.

Keep reading

The guides are ordered the way a merchant usually needs them, so the two either side of this one are the likely next job.

Back to all guides