# Shopify (https://talivia.com/docs/installation-guides/shopify)



Install Talivia in the Shopify theme layout so storefront pages are tracked.




## Theme layout [#theme-layout]

Open the Shopify theme code editor and edit `layout/theme.liquid`. Place the snippet before the closing `</body>` tag.

```html
    <script defer src="https://talivia.com/script.js" data-website-id="YOUR_WEBSITE_ID"></script>
</body>
</html>
```

Storefront first. This tracks the online store pages where the theme is rendered. Checkout pages may be controlled separately depending on your Shopify plan and setup.

## Verify [#verify]

Preview or publish the theme, visit a product or landing page, and confirm the visit appears in Talivia.
