# Install on Squarespace
Source: https://docs.luriart.com/install/squarespace
Plain text: https://docs.luriart.com/install/squarespace.txt
Add the Luria snippet with Squarespace Code Injection and track Commerce orders on the order confirmation page.
Time needed: about 5 minutes.
## What you'll need
* Your Luria Site ID, copied from the Luria dashboard under **Settings > Install**
* Owner or Administrator access to your Squarespace site
* A Squarespace Business plan or higher. Code Injection is not available on the Personal plan.
### Step 1: Copy your snippet
Sign in at [luriart.com/app](https://www.luriart.com/app), open **Settings > Install** , and copy the snippet. It looks like this:
```html
```
`YOUR_SITE_ID` is replaced with your real Site ID when you copy from the dashboard.
[Screenshot: Luria dashboard Install page with the snippet and a Copy button]
### Step 2: Paste it into Code Injection
1. In Squarespace, open **Settings**.
2. Go to **Advanced > Code Injection**.
3. Paste the snippet into the **Header** box.
4. Click **Save**.
Squarespace sites go live immediately; there is no separate publish step.
[Screenshot: Squarespace Code Injection panel with the Luria snippet in the Header field and the Save button]
### Step 3: Set up conversion tracking
**Automatic.** If the page a visitor sees after converting has a URL containing `/thank-you`, `/thank_you`, or `/orders/` followed by an ID, Luria counts it on its own.
**Lead forms.** Squarespace forms usually show a message in place instead of moving to a new page. Set the form's **Post-submit** option to redirect to a page whose URL contains `/thank-you`, and Luria counts the lead automatically.
**Squarespace Commerce.** Use the order confirmation page injection:
1. Go to **Settings > Advanced > Code Injection**.
2. Scroll to **Order Confirmation Page**.
3. Paste:
```html
```
Squarespace fills in `{orderGrandTotal}` with the order total on that page. If you prefer not to pass a value, use `window.luria.convert("purchase")` and Luria counts the order without revenue.
[Screenshot: Squarespace Code Injection page scrolled to the Order Confirmation Page field with the Luria convert script pasted in]
## Troubleshooting
**I don't see Code Injection**
Check two things: your plan (Business or higher) and your role (Owner or Administrator). Contributors with lower roles cannot reach this panel.
**The snippet is saved but Luria says Not detected**
Open your site in a private window, load a couple of pages, then refresh **Settings > Install** in Luria. If it still says Not detected after a few minutes, see [Snippet not firing](/troubleshooting/snippet-not-firing).
**Orders are not counting**
The order confirmation injection only fires on a completed checkout. Place a small test order and check the dashboard after a few minutes. Test orders in Squarespace test mode may not fire injection code.
**Will Luria conflict with my other scripts?**
No. Luria reads its own events and never fires anyone else's conversions. Your analytics and ad pixels keep working as they are.
## Next steps
* [Verify your install](/install/verify-install)
* [Set your goal](/train/goals)
* [How to train Luria](/train/how-to-train)