# Shopify

Add the tag to every page of a Shopify store, in your theme’s code.

In your Shopify admin, go to Online Store, then Themes, open the menu (…) beside your theme and choose Edit code. Open `theme.liquid` under Layout, paste the tag just before `</head>`, and save. See [Shopify’s help on editing theme code](https://help.shopify.com/en/manual/online-store/themes/customizing-themes/edit-code/edit-theme-code).

```
<script async data-domain="example.com" src="https://fiveb.ar/js/tally.js"></script>
```

The tag belongs to that theme, so add it again if you switch themes, and check it’s still there after an update. Shopify’s checkout doesn’t use your theme, so its pages aren’t counted.

Once it’s live, [check it works](https://fiveb.ar/docs/install.md#check-it-works).

---

fivebar is web analytics without cookies, at https://fiveb.ar. Every page of its docs is listed at https://fiveb.ar/docs/index.md.
