Getting Started > Shopify Installation

Shopify Installation

It only takes a few minutes to install Offerbox to a Shopify store. Once installed, you’ll be able to add and display offers on your online store.

Add Offerbox to Shopify

You can install Offerbox at Shopify App Store. Select a plan to start your free trial and the code will be automatically added to your Shopify theme. 

Manual Installation

In case you need to manually install Offerbox, you can follow steps below.

Just copy the first code snippet in your Offerbox dashboard.

Or you can quickly grab it from here instead:

<div id="offerbox"></div>
<script type="text/javascript" src="{{shop.permanent_domain}}"></script>
<link rel="stylesheet" type="text/css"  href="{{shop.permanent_domain}}" />

How to use the code 

  • Paste the code to your theme.liquid file.
  • You’ll need to open your website under the web domain. The app will not work in preview or development modes.

Configure Domain:

After you install the script on your site, go to Offerbox dashboard and click "Configure" in the navigation menu.

Find Website settings and add your custom domain

Website Settings in Offerbox Dashboard

Your website domain must match the value here. Most websites these days use multiple domains. At a minimum, you have a domain with "www" and also a root domain as shown below.

Therefore it is important to configure a primary domain for your website and add redirects to the primary domain. Offerbox only accepts a single domain. In case users visit your site with other domains and there are no redirects to primary domain, Offerbox will not be visible to the user.

In Shopify, you can configure your primary domain under Online Store > Domains

Shopify Domain Settings

Now you're ready to start using Offerbox