Skip to main content

How do I connect the recommendations module?

This article tells you how to activate the recommendations module in Reloadify.

Carola avatar
Written by Carola
Updated this week

With Reloadify's recommendations module, Reloadify loads recommended products onto your website. In this article, you will learn how to activate the recommendation module in Reloadify.

Connecting the recommendations module

Before you can make a recommendation, you need to activate the module. To display the recommendations on your webshop, you need a code on your website.

In Reloadify, go to ‘Recommendations’. You will see the following message:

Click on ‘Complete setup’.

You will now see the following screen:

Step 1. Add the recommendations script

Add the recommendations script to the back end of your website. You can do this in the same way as adding the pop-up script. Copy and paste the script into the code of your webshop (preferably under existing scripts). Whether the code should be placed in the head or body depends on your webshop.

Step 2. Add the tracking script

Add the tracking script to the back end of your website. You can do this in the same way as adding the pop-up script. Copy and paste the script into the code of your webshop (preferably under existing scripts). Whether the code should be placed in the head or body depends on your webshop.

Note: It may take a while for Reloadify to find the script on your website. We do not validate it until we have actually received data through the scripts.

Need help implementing the script?

WooCommerce

Go to the admin panel of your WordPress site and follow these steps:

  1. Navigate to Appearance > Theme Editor (or use a child theme).

  2. Open the footer.php file.

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

  4. Save the changes.

Shopware

  1. Use a child theme of your active template.

  2. Add the script to footer.tpl or base.html.twig, right before </body>.

  3. Clear the cache in the Shopware admin panel after adding the script.

Magento 2

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

  2. Add the script to default_head_blocks.xml or via a custom module/layout:

    • Place it in:

      app/design/frontend/Vendor/theme/Magento_Theme/layout/default_head_blocks.xml
    • 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=YOURID" src_type="url" /> </head> </page>
  3. Redeploy static content and clear the cache.

Lightspeed eCom (C‑Series)

  1. Log in to your Lightspeed back office.

  2. Go to Settings > Website Settings > Web Extras.

  3. You have two options for adding scripts:

    • Custom JavaScript: added just before the closing </body> tag.

    • Custom Head Code: added inside the <head> section (useful for trackers or tags).

  4. Choose Custom JavaScript and paste the script like this:

    <script src="https://app.reloadify.com/assets/popup.js?reloadify_account_id=..."></script>
  5. Save. The script will now load on all pages, just before </body>.

Shopify

  1. Go to Admin → Online Store → Themes → Actions → Edit Code.

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

  3. Look for the closing </body> tag and insert your script before it, for example:

    <script src="https://app.reloadify.com/assets/popup.js?reloadify_account_id=..."></script>
  4. Save the changes.


Step 3. Choose a location for the recommendation feed

In this step, you choose a location on your website where the feed will appear. Click on ‘choose location’. You will now be redirected to your own website. At the bottom right, you will see the following:

Now click on ‘start’. You can now choose a location by hovering your mouse over the website. When you click with your mouse, the location is fixed.

Next, give the location a name (for yourself) and choose what type of page it is (a product page or the checkout).

Now save the location. You are now ready to create a recommendation feed.

Did this answer your question?