# Install on Wix Source: https://www.luriart.com/docs/install/wix Plain text: https://www.luriart.com/docs/install/wix.txt Add the Luria tag to your Wix site's head with Custom Code, then report conversions from your confirmation page. Time needed: about 6 minutes. ## What you'll need * Your Luria tag, with your site ID already in it. You get it during onboarding, or email [hello@luriart.com](mailto:hello@luriart.com) and we will send it to you. The dashboard does not show the site ID yet. * Owner or Admin access to the Wix site. * A Wix Premium plan with a connected domain. Wix only allows custom code on premium sites. ### Step 1: Open Custom Code In your Wix dashboard, go to Settings, then Custom Code under Advanced, then click "Add Custom Code". [Screenshot: Wix dashboard Settings page with the Custom Code section open and the Add Custom Code button visible] ### Step 2: Paste the tag into the head Paste this, with your own site ID in place of `YOUR_SITE_ID`: ```html ``` Set the options like this: | Option | Choose | | -------------------------- | --------- | | Add code to pages | All pages | | Load code on each new page | Yes | | Place code in | Head | Name it "Luria" so you can find it later, then click Apply. **Warning:** Luria reads your site ID off the tag itself. If you retype the ID, wrap the tag in other markup, or split it across two code blocks, nothing loads and your site is untouched. ### Step 3: Tell Luria when someone converts Add a second Custom Code entry. This time choose "Add code to specific pages" and pick your confirmation or thank-you page, and place it in "Body - end". Paste this: ```html ``` Change the goal name and value to match what you sell. Use `window.luria.convert("purchase", 129.00)` for an order with a value, or `window.luria.convert("lead")` for a form or signup with no value. The short retry loop is there because the tag loads asynchronously, so `window.luria` can appear a moment after the page does. Luria also counts a conversion on its own when the page path is `/thank-you`, `/thank_you`, or `/orders/` plus an order token. Add the call anyway. The automatic one is recorded, but split test results only count conversions you name yourself. ## Verify it worked 1. Publish the site and open it in a private window with ad blockers off. 2. View the page source. The tag should sit inside ``. 3. Open DevTools, go to Network, filter for `luriart.com`. You should see calls to `/api/patches` and `/api/events`, and `/api/consent` the first time. 4. In the Console, type `window.luria`. It should return an object, not `undefined`. 5. Place a real test order or submit the form, then open the Customers tab in your dashboard. The converted session appears there. [Screenshot: Luria dashboard Customers tab listing converted sessions with source, first seen and value] Full checklist: [Verify your install](/install/verify). ## Common failures **Nothing loads and the code box is greyed out** Wix blocks custom code on free sites. You need a Premium plan with a connected domain. **Console says window.luria is undefined** Three usual causes. The tag is missing its site ID, so the snippet stops immediately. Global Privacy Control or Do Not Track is on in your test browser, in which case Luria collects nothing at all by design. Or you are in a region where Luria shows its own small consent banner and you declined, which is stored in the browser; clear the site data and choose Accept to test again. **The tag is in the body, not the head** It still works. Changes just land later, so visitors may see the original text for a moment first. Move it to Head. **I pasted the tag twice** Harmless. Luria ignores the second copy rather than counting twice. Remove the spare anyway. **One order counted as two conversions** You called `window.luria.convert` twice on the same page. Call it once. Luria runs once per full page load and does not re-run when a page changes in place without reloading. Install it on your marketing, landing and product pages. ## Next steps * [Verify your install](/install/verify) * [JavaScript events reference](/reference/javascript-events) * [Snippet not firing](/troubleshooting/snippet-not-firing) * [How a test is measured](/start/how-a-test-is-measured)