LuriaDocs
Install

Install on Squarespace

Add the Luria snippet with Squarespace Code Injection and track Commerce orders on the order confirmation page.

plain textupdated 2026-08-19

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, open Settings > Install , and copy the snippet. It looks like this:

<script async src="https://luriart.com/snippet.js" data-luria-site="YOUR_SITE_ID"></script>

YOUR_SITE_ID is replaced with your real Site ID when you copy from the dashboard.

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.

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:
<script>window.luria && window.luria.convert("purchase", {orderGrandTotal});</script>

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.

Troubleshooting

Next steps

On this page