# Install on Shopify

> Add Datacenter to your Shopify store in about five minutes. Copy one line and paste it into your theme. No coding needed.

Source: https://datacenter.so/docs/install-shopify
Section: Start here

You copy one line from Datacenter and paste it into your Shopify theme. It takes about five minutes.

## Before you start

Copy your tag. In Datacenter, open [Set up your site](https://app.datacenter.so/start), or open your site's **Settings**. Your tag looks like this, with your own address:

```html
<script defer data-site="yourshop.com" src="https://datacenter.so/s.js"></script>
```

## Steps

1. In your Shopify admin, open **Online Store**. You land on your themes.
2. Next to your current theme, click the **...** button, then **Edit code**.
3. In the **layout** folder, open `theme.liquid`.
4. Find the line `</head>`. Paste the tag on the line just above it.
5. Click **Save**.

## Check it works

Go back to Datacenter. On the last setup step, click **Check my site**. Then open your store in a new tab. Your first visit shows up in a minute or two.

## Good to know

- Shopify checkout pages do not run theme code, so the tag does not see them. To count sales, connect your store with the [Shopify connector](https://datacenter.so/docs/shopify-connector), on paid plans. Each order then shows with the ad or link that brought it, and every buyer and new customer account is added to [Profiles](https://datacenter.so/docs/customer-profiles) with their email. No extra code.
- If you switch to a new theme later, paste the tag into the new theme too.
- A store with a password page still works, but our check cannot see past the password. Open the store yourself and wait for the first visit.
