Skip to main content

Activating Loyalty on your webshop

To start using Loyalty, you will need to complete a one-time setup: from the technical integration to the design of your rewards program.

Written by Francine

In short: The setup sequence

  1. Connect Loyalty scripts to your webshop

    1. Enable or disable Loyalty for your customers

    2. Configure the style settings

  2. Language and communication settings

In this article: how to connect Loyalty to your webshop.
​

1. Connect Loyalty to your webshop

Loyalty only works once the software establishes a connection with your webshop. To do this, you must place two scripts.

  1. Go to Loyalty in the dashboard.

  2. Click Add Loyalty script.

  3. Copy the scripts shown and place them into the code of your webshop.

  4. After placement, click Validate.

Note: Reloadify can only validate the script once it is actually loaded on your website. This may take a moment.

Installation help per platform

Unsure where to place the code? Follow the instructions for your specific platform:
​

WooCommerce

  1. In WordPress, go to Appearance > Theme Editor (or use a child theme).

  2. Open the footer.php file.

  3. Paste the script right before the closing </body> tag.

  4. Click Update File.

Shopware

  1. Use a child theme of your active template.

  2. Open footer.tpl or base.html.twig.

  3. Paste the script right before the closing </body> tag.

  4. Clear the cache in the Shopware admin panel.

Magento 2

  1. Go to the admin panel or use FTP/SSH.

  2. Open default_head_blocks.xml (for example in app/design/frontend/Vendor/theme/Magento_Theme/layout/). If this file does not exist yet, create it.

  3. Add the script inside the <head> section.

  4. Example:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">   <head>     <script src="https://app.reloadify.com/assets/popup.js?reloadify_account_id=YOURSCRIPT" src_type="url" />   </head> </page>

Redeploy the static content and clear the cache.

Lightspeed eCom (C-Series)

  1. In the backoffice, go to Settings > Website Settings > Web Extras.

  2. Choose Custom JavaScript.

  3. Paste the script here.

  4. Example: <script src="https://app.reloadify.com/assets/popup.js?reloadify_account_id=YOURSCRIPT"></script>

  5. Click Save.

Shopify

  1. Go to Online Store > Themes > Actions > Edit Code.

  2. In the Layout folder, open the theme.liquid file.

  3. Find the </body> tag and paste your script directly above it.

  4. Click Save.

Did this answer your question?