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.
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
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.