# Shopify

<div align="center"><figure><img src="/files/zWdQRbL3oWSwWvsDdXkW" alt="" width="128"><figcaption><p>Shoo</p></figcaption></figure></div>

This article steps through how to install your SiteBehaviour Tracking Code on your Shopify site.

{% hint style="info" %}
The **built-in Shopify checkout** doesn't allow any third-party scripts like SiteBehaviour to be installed.
{% endhint %}

1. Go to your [SiteBehaviour Organisation's page](https://web.sitebehaviour.com/a/org) and click on the **Settings button** for your site.

<img src="/files/MKUu3q3CIO6MNZLS1rRL" alt="Get your tracking code " class="gitbook-drawing">

2. Go to the Tracking code tab.
3. Click on **Copy** to copy the Tracking Code to your clipboard.

<img src="/files/LiFhaa28XZS5G3hDlKXy" alt="Your tracking code" class="gitbook-drawing">

&#x20; 4\.  Visit your **Shopify Admin dashboard.**

5. Click on **Online Store**, then click on **Themes**.
6. On your current theme, click on **Actions** and then select **Edit code**.
7. Within the Layout folder, click on **theme. liquid**
8. &#x20;Scroll down the **theme.liquid** page until you've found the **\</head>** closing tag.
9. Paste your SiteBehaviour Tracking Code just before the closing **\</head>** tag.
10. Click on **Save** to apply the changes.
11. After allowing a couple of minutes for the update, check [SiteBehaviour's Dashboard](https://web.sitebehaviour.com/a/dashboard) for statistics. We recommend visiting your website to ensure that your initial activity is accurately reflected on the SiteBehaviour Dashboard.

> <mark style="color:blue;">Using the steps above, the SiteBehaviour Tracking Code should now be installed on your Shopify storefront.</mark>&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sitebehaviour.com/guides-and-integrations/shopify.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
