# Install on Wix Source: https://docs.luriart.com/install/wix Plain text: https://docs.luriart.com/install/wix.txt Add the Luria snippet to your Wix site's head through Custom Code and track Wix Stores orders on the thank-you page. Time needed: about 5 minutes. ## What you'll need * Your Luria Site ID, copied from the Luria dashboard under **Settings > Install** * Owner or Admin access to the Wix site * A Wix Premium plan and a connected domain. Wix only allows custom code on premium sites with their own domain. ### Step 1: Copy your snippet Sign in at [luriart.com/app](https://www.luriart.com/app), open **Settings > Install** , and copy the snippet: ```html ``` Your real Site ID is already filled in when you copy from the dashboard. [Screenshot: Luria dashboard Install page with the snippet and a Copy button] ### Step 2: Add it as custom code in Wix 1. Open your site's dashboard in Wix and go to **Settings**. 2. Scroll to **Advanced** and click **Custom Code**. 3. Click **+ Add Custom Code**. 4. Paste the snippet into the code box and name it "Luria". 5. Under **Add Code to Pages**, choose **All pages** and **Load code once**. 6. Under **Place Code in**, choose **Head**. 7. Click **Apply**. [Screenshot: Wix Add Custom Code dialog with the Luria snippet pasted, All pages and Load code once selected, and Head chosen as the placement] **Note:** Code added in the dashboard goes live right away. If you also make changes in the Editor, publish those as usual. ### Step 3: Set up conversion tracking **Automatic.** If your post-conversion page URL contains `/thank-you`, `/thank_you`, or `/orders/` followed by an ID, Luria counts it on its own. Many Wix sites name their page `/thank-you`, so you may be done already. **Wix Stores.** The default Wix Stores thank-you page URL is `/thank-you-page/`. That URL contains `/thank-you`, so purchases are detected automatically. To pass the order value too, add a second custom code entry that loads only on the Thank You Page: 1. **Settings > Custom Code > + Add Custom Code**. 2. Paste: ```html ``` 3. Under **Add Code to Pages**, choose **Choose specific pages** and pick **Thank You Page**. 4. Place it in **Body - end** and click **Apply**. Passing the exact order total requires Velo code on the thank-you page; contact us at [support@luriart.com](mailto:support@luriart.com) and we will send you the snippet. Counting the purchase without a value still works for lift measurement. **Lead forms.** Set your Wix form's **Submit** action to redirect to a page whose URL contains `/thank-you`, or add `window.luria.convert("lead")` to that page with the same steps above. [Screenshot: Wix Custom Code dialog scoped to the Thank You Page with the Luria convert script] ## Troubleshooting **Custom Code is missing from Settings** It only appears on Premium sites with a connected domain. Upgrade and connect your domain first, then reload the dashboard. **Luria says Not detected** Load your live domain (not the editor preview and not the wixsite.com address) in a private window, then refresh **Settings > Install** in Luria. Still nothing after a few minutes? See [Snippet not firing](/troubleshooting/snippet-not-firing). **Purchases count twice** If your thank-you URL already contains `/thank-you` and you also added the convert line, remove one of them. The automatic detection is enough on its own. **Does this slow down my site?** The snippet loads async and fails open. If anything goes wrong, your page behaves exactly as if Luria weren't installed. ## Next steps * [Verify your install](/install/verify-install) * [Set your goal](/train/goals) * [How to train Luria](/train/how-to-train)