Improve Rebuy Smart Cart load speed
By default, Shopify loads apps only after the main site has finished loading. This means Rebuy cannot run until the entire site is ready, causing delays of 3-4 seconds or more before features like Smart Cart, Widgets, Smart Search, Bundle Builder and others are available. Also to note on mobile devices, may also experience similar delays due to Shopify's app loading sequence.
Shopify’s infrastructure requires the main theme to fully load before apps like Rebuy are executed. While this delay cannot be entirely eliminated, it can be minimized by following best practices.
To speed up the process, you can install the Rebuy JS Script Tag in your theme and disable Rebuy JS through the Rebuy admin portal. Enabling this option adds the Rebuy script tag to your store’s theme.liquid file and prevents Rebuy from loading in the document header, ensuring faster load times.
This is a best practice for improving load times and delivering a seamless user experience. It will especially benefit key features like Smart Cart, Smart Search, and Merchandising Widgets, along with other Rebuy functionalities.
How to Install the Rebuy Script Tag and Disable Rebuy JS
Step 1: Log in to the Rebuy Admin Portal
Step 2: Navigate to the Settings Tab - Once logged in, go to the Settings tab on the left-hand side of the admin portal.
Step 3: Select "App Settings" - In the Settings section, find and click on App Settings.
Step 4: Enable Script Tag Installation and Disable Rebuy JS - On the App Settings page, look for the toggle labeled "Install Rebuy Script Tag and Disable Rebuy JS." Turn this toggle on to enable the script tag installation and disable Rebuy JS.
This setting now relies on the new Rebuy Connector App Embed Block on Shopify.
Please ensure that the Rebuy Connector is enabled on your current theme. You can do that by navigating to the app embeds section of your Shopify settings and verifying that it is toggled on!
The Rebuy Connector 🔄 may already be enabled in your settings if you had previously set it up during your onboarding process or when enabling a separate feature which requires it. We recommend you confirming this just to be certain that it is toggled on. You can do this by clicking the link on the settings as seen in the gif below.
Alternatively you can navigate to your Shopify settings > sales channels > online store > click "customize" on your live theme > click "app embeds" on the left-hand navigation > confirm that the Rebuy Connector is toggled on.
Secondary Install Option (Deprecated)
The second option you have is to manually inserting this into 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>
Removing jQuery from your settings to increase site speed
Removing jQuery from Rebuy.js, its impact on performance, and how to disable it for improving load times. To do so, you can simply go to App Settings and toggle the jQuery option to "No." New merchants as of September 1, 2025 will have jQuery disabled by default. Check out our article to learn more about jQuery and How It Affects Your Store.
Step 1: Log in to the Rebuy Admin Portal
Step 2: Navigate to the Settings Tab - Once logged in, go to the Settings tab on the left-hand side of the admin portal.
Step 3: Select "App Settings" - In the Settings section, find and click on App Settings.
Step 4: Disable jQuery - In the App Settings page, find the option for jQuery and toggle it to "No." This will disable jQuery and help improve load times if you don't require it for custom code or templates.
FAQs
What are the most effective ways to speed up Rebuy’s performance on my store?
The most effective ways to speed up Rebuy’s performance are to install the Rebuy JS Script Tag, disable Rebuy JS, and disable jQuery (if not required by your store). These actions ensure faster load times and better performance for Rebuy features.
How can I make Rebuy load faster on my store?
To speed up Rebuy, you can install the Rebuy JS Script Tag and disable Rebuy JS through the Rebuy admin portal. This will ensure that Rebuy loads earlier in the page lifecycle, minimizing delays for features like Smart Cart and Smart Search.
How can I make Rebuy load faster on my store?
To speed up Rebuy, you can install the Rebuy JS Script Tag and disable Rebuy JS through the Rebuy admin portal. This will ensure that Rebuy loads earlier in the page lifecycle, minimizing delays for features like Smart Cart and Smart Search. You can also disable jQuery (if not required by your store).
Are there any best practices to speed up Rebuy's Smart Cart and Widgets?
Yes, the best practice to speed up Smart Cart, Widgets, and other Rebuy features is to add the Rebuy JS Script Tag to your theme and disable Rebuy JS. This minimizes delays caused by Shopify’s app loading process and improves the overall site speed.