Skip to content

Automatic Installation

When a merchant installs Rebuy, Enable Rebuy JS via Rebuy Connector is turned on automatically. To finish setup, the merchant turns on the Rebuy Connector in their theme's App Embeds.

Rebuy has two loading methods, and you manage both in Rebuy Admin under Settings > App Settings:

Setting How it loads Status
Enable Rebuy JS via Rebuy Connector Through the Rebuy Connector app embed, from your theme's <head> Recommended
Enable Rebuy JS via script tag (legacy, ends Mar 1, 2027) Through a Shopify script tag, after the rest of the page has loaded Stops working March 1, 2027

The Rebuy Connector loads Rebuy JS early in the page, so features like Smart Cart, Widgets, and Smart Search appear faster. It needs no theme code changes.

  1. Turn on the Rebuy Connector in your theme's App Embeds
  2. In App Settings, make sure Enable Rebuy JS via Rebuy Connector is on (new installs have it on already)

See Rebuy Connector for full setup steps and troubleshooting.

Legacy script tag

Shopify is deprecating script tags. They load after the rest of the page has finished loading, which can take 3-4 seconds or longer and delay Rebuy features. The Enable Rebuy JS via script tag (legacy, ends Mar 1, 2027) method stops working on March 1, 2027. Move to the Rebuy Connector before then.

If you need full control over where Rebuy loads, you can add the script to your theme yourself instead. See Manual Installation.

See something that needs updating? Suggest an edit