Getting Started / Installation


Installing Offerbox on your website takes only a few minutes. You'll be able to add and post offers on your online store once it's been setup.
If you plan to add Offerbox to a Shopify store, please see the instructions here. For any other website, follow the steps below.

Install the JavaScript code

Just copy the first code snippet in your offers settings, where we pre-populate your website id (this is called your shop or website domain in the code) for you.

Or you can quickly grab it from here instead:

<div id="offerbox"></div>
<script type="text/javascript" src=""></script>
<link rel="stylesheet" type="text/css"  href="" />

How to use the code 

Paste the code right before the closing body tag of every page. Replace in the code with your custom domain

Configure Domain:

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

Find Website settings and add your custom domain.
Configure Domain Name

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.

Configuring URL forwarding in Cloudflare

Now you're ready to start using Offerbox 🎉