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 installed 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 the Offerbox dashboard and click "Configure" in the navigation menu.

Find Website settings and add your custom domain

Updating Domain Settings in Offerbox

The value in this field must be the same as the domain of your website. Nowadays, most websites have numerous domains. You must have a domain that begins with "www" and a root domain, as illustrated below

As a result, it's critical to set up a principal domain for your website and establish redirects to that domain. Offerbox only allows one domain at a time. If users access your site through other domains and there are no redirects to the original domain, Offerbox will be hidden from view.

You may set up your principal domain in Shopify under Online Store > Domains.

Domain Settings in Shopify

Now you're ready to start using Offerbox 🎉