Uninstalling JSON-LD for SEO and its structured data code snippet in Shopify

When you install JSON-LD for SEO it makes some changes to your Shopify theme to ensure Google and other search engines can find your structured data.

If you tried to uninstall, you may have noticed that those changes are still present in your theme. In this article I’ll explain why those persist and the steps you can take to fully remove them.

Why your theme still has the snippet in place, even after uninstalling

There are two reasons why JSON-LD for SEO’s changes remain in your theme after installing.

First there’s the business philosophy reason. Since the app is a one-time fee app, once you’re purchased a license to you it you can continue to use it for the life of your store.

That means you’ve purchased a right to use the code that creates the structured data, even after you uninstall. By uninstalling you won’t get updates to the code but you can still use it.

This is beneficial because if you decide to uninstall apps to clean up your admin panel, you won’t accidentally lose all of the benefits of JSON-LD for SEO.

I don’t want you to be uninstall the app and unintentionally lose all of your Google Rich Snippets because you were unaware that JSON-LD for SEO was working quietly in the background for you.

The second reason why JSON-LD for SEO’s theme changes stay around after uninstalling is because Shopify doesn’t let apps do anything after you uninstall.

The minute you uninstall any Shopify app, Shopify completely revokes all access to your store for that app.

There’s no way for any app to undo, rollback, or do anything else. In fact, when you uninstall an app it cannot even view the payments or send refunds.

Uninstalling effectively puts up a No Trespassing sign for your store.

Removing the code installed by JSON-LD for SEO

That said, if you do want to completely uninstall and purge everything JSON-LD for SEO did, it’s a pretty easy process.

  1. First delete the snippet.

All of the structured data code for the app is located in your theme files under snippets/jsonld-for-seo.liquid.

The first step is to delete that file.

  1. Remove the inclusion of that snippet file from your theme.

Next you need to remove the inclusion of that snippet from your theme. In non-jargon words, you want your theme to stop inserting that file into your site’s HTML.

In your theme there is a file called layouts/theme.liquid that holds your store’s HTML code.

Near the bottom of it is one line:

<!-- This line added automatically by JSON-LD for SEO. -->{% include 'jsonld-for-seo' %}

Remove that line and save the theme.liquid file.

That’s it.

I’d recommend you refresh your site and make sure the store looks correct.

If you have questions, feel free to contact me for additional help. You’re always welcome to re-install later on too, you won’t be charged again.

Get more organic search traffic for your Shopify store

JSON-LD for SEO icon

Increase organic SEO traffic through Google's Rich Results. One click allows search engines and others to understand your store and products.

Install JSON-LD for SEO