# Install on BigCommerce

> BigCommerce has a Script Manager that puts code on every page of the store.

BigCommerce does not write code for you, but it has a box for code that goes in the head of every page. Paste one line there and you are done.

## Before you start

[Sign in to Okidoki](https://okidoki.sh/login) and add your site. On the setup page, choose **With a site builder** and copy the line. It looks like this, with your own site key:

```html title="The script tag"
<script defer data-site="ok_your_site_key" src="https://okidoki.sh/js/okidoki.js"></script>
```

## Install on BigCommerce

1. In your BigCommerce admin, open **Storefront → Script Manager** and press **Create a Script**.
2. Name it Okidoki. Choose **Head** for where it goes and **All pages** for which pages.
3. Choose **Analytics** as the category and **Script** as the type, then paste the script tag into **Script contents**.
4. Press **Save**, wait a minute, then open your store once in a normal browser window.

The setup page in Okidoki turns green as soon as the first visit arrives. See [Check that it works](https://docs.okidoki.sh/install/check).

> [!NOTE]
> Some builders only allow custom code on paid plans or on a connected domain. If you cannot find the place, check your plan with the builder.

## Good to know on BigCommerce

- If you turned on the cookie consent banner in BigCommerce, it holds back scripts in the **Analytics** category until the shopper says yes. Okidoki sets no cookies, so you can choose **Essential** instead and count every visit.
- Not showing up? Clear the store cache under **Server settings → Store-level caching**.

> [!TIP]
> Rather do it all on one page? The [BigCommerce install guide](https://okidoki.sh/install/bigcommerce) on okidoki.sh has the setup built in.

## No cookie banner needed for Okidoki

Okidoki sets no cookies and collects no personal data, so it needs no cookie banner. If your builder offers to add one for analytics, you can usually say no. Read more in [Privacy and GDPR](https://docs.okidoki.sh/privacy).
