Skip to main content

How to install the LinkStorm snippet on Shopify

Learn how to install the LinkStorm snippet on Shopify. Quick and easy setup.

Updated over 2 weeks ago

LinkStorm needs its JavaScript snippet to load on every page so it can insert internal links. Below are three ways to do that on Shopify.

Installation

Start by going to the snippet installation page from your Dashboard:

LinkStorm code snippet panel

Then, select one of the following methods.

Method 1: Editing Your Theme Code (Most Common)

This method involves adding your script directly to your theme's main layout file, which makes it load on every page of your store.

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme you want to edit, click the Actions button (the one with three dots ...), and then select Edit code.

  3. In the code editor, open the Layout folder and click on the theme.liquid file.

  4. Paste your script before the closing </head> tag.

  5. Click Save.


Method 2: Add the snippet with Google Tag Manager

If you already use GTM, simply add a Custom HTML tag that fires on All Pages.
See the detailed steps in our dedicated guide: How to install the LinkStorm snippet with GTM.


Method 3: Using a Shopify App

If you're not comfortable editing code, using an app is the best approach. These apps provide a user-friendly interface to manage and inject scripts.

Search the Shopify App Store for "custom script," "custom code," or "header footer scripts" to find many suitable options.

Verification

Verify the snippet was successfully installed by going to the installation page and clicking on "Verify Installation." You should see these confirmations:

Did this answer your question?