Improve Rebuy load speed

By default Shopify loads all apps after the regular Shopify site has finished loading. This means Rebuy is not allowed to run until after the site has finished loading which can sometimes take 3-4 seconds or longer. We can change this by the adding Rebuy JS directly to your theme.

In your theme's theme.liquid file, add the following script tag before the closing body tag:

<script async src="https://cdn.rebuyengine.com/onsite/js/rebuy.js?shop={{ shop.permanent_domain }}"></script>

Then, remember to turn off Rebuy JS via your settings here: https://rebuyengine.com/settings. Switch "Enable Rebuy JS" from "Yes to "No" and save.

Did this answer your question?