Installation on Shopify

LoyaltyLion has full support for Shopify and Shopify Plus. When you install the LoyaltyLion app on Shopify, we’ll automatically integrate with your store. Use the instructions below if you need a more custom installation.

Installing the LoyaltyLion Shopify app

If you haven’t already, you can install the app from here:

Once you install the app and complete the setup, we’ll install our webhooks and add our SDK to your current theme.

Changes we make to your theme

When we add our SDK to your theme, we’ll do the following:

  • Create a new snippet called loyaltylion
  • Modify your theme.liquid layout to include our snippet in the </head>

You can freely move the include if needed, but we recommend keeping it as high up as possible to ensure the LoyaltyLion UI components load quickly. Our SDK loads asynchronously so it doesn’t block page rendering.

Do not edit the loyaltylion.snippet - we occassionally push updates to it, so your changes will be removed.

Adding LoyaltyLion to a different theme

Our automatic installation only adds LoyaltyLion to your current, live theme. If you need to add LoyaltyLion to a different theme, e.g. for testing, do the following:

  • Copy the loyaltylion.snippet from your live theme into your second theme
  • Add {% include "loyaltylion" %} to the <head>

If you’ve lost or don’t have the loyaltylion.snippet file, email