Install Linqry on Wix
To add Linqry to a Wix site, go to **Settings → Custom Code** in your site dashboard, add the two-line snippet, apply it to **All pages**, and place it in the **Head**. Wix only runs custom code on a published site with a connected domain.
Updated · 3 min read
Install with Custom Code
- Add your domain to Linqry
Start a free trial, add the domain connected to your Wix site and copy the snippet from the Install page.
- Open Custom Code in the dashboard
In your site dashboard, go to Settings and click Custom Code under Development & integrations. Click + Add Custom Code.
- Paste the snippet and choose the settings
Paste both lines and give the snippet a name such as "Linqry". Under Add Code to Pages, choose All pages and the option to load the code once. For placement, choose Head. Apply.
<script>window.linqry=window.linqry||function(){(window.linqry.q=window.linqry.q||[]).push(arguments)}</script> <script defer data-website-id="YOUR_SITE_ID" data-domain="yourdomain.com" src="https://linqry.com/t.js"></script> - Check Realtime
Open the live site in a new browser tab, click through three or four pages, then open Realtime in Linqry. Each page you opened should appear exactly once in the live event stream.
Load once or on each new page?
For code applied to all pages, Wix lets you load it once per visit or on each new page. Pick load once. When a site changes pages without a full reload, the tracker sees each change through the browser's History API (pushState, replaceState and popstate) and records it as a page view itself, together with the time spent on the page being left. Loading the snippet again on every page would start a second copy and count pages more than once.
The Realtime check in step 4 confirms which setting your site needs: with the right one, each page you open appears exactly once. If only the first page appears, switch the snippet to load on each new page and test again. If pages appear twice, switch back to load once.
Requirements and domains
Wix's help center says a site needs to be published and have a connected domain before you can add custom code. Register that connected domain in Linqry. Subdomains of it, including www, are accepted automatically; any other hostname that should report into the same site goes under Additional hosts in site Settings.
Track clicks and form submissions
Links to other websites are recorded automatically as outbound events. For goals on your own site, the simplest approach on Wix is a thank-you page: point a form's submission to a dedicated page and create a page-visit goal for it. Combine goals in a funnel to see how visitors move from a landing page to that confirmation on the same day.
If you write code on your site, you can also send a named event from the browser with window.linqry('booking-requested'); custom events explains names and properties. For bookings or sales that are confirmed on a server, send the event there with the site's write key through the tracking API.
Exclude your own visits
Site owners look at their own site a lot. In each browser you use, open the live site, open the browser's developer console and run:
localStorage.setItem('linqry_ignore', 'true')Troubleshooting
- Can't add custom code? Check that the site is published and has a connected domain.
- Nothing in Realtime? Confirm the snippet is set to All pages and Head, that you're visiting the connected domain, and that the site ID matches the Install page. Test without an ad blocker.
- Using a cookie consent banner? The tracker sets no cookies and stores nothing in the browser. Consent tools can still hold back scripts by category, so check how yours treats the snippet; the privacy model describes exactly what is collected.
Frequently asked questions
Can I run Linqry alongside another analytics tool on Wix?
Yes. They're independent. Expect different numbers, since each tool identifies visitors and filters bots its own way; Linqry counts a visitor once per day.
Why don't my visits in the Wix editor show up?
The editor and preview don't run on your connected domain, so they aren't counted. Test on the published site.
Sources
- Wix Help Center: Embedding custom code on your site (checked Nov 9, 2026)
Related
Paste the snippet into Code Injection → Header. Code injection needs a Core, Plus or Advanced plan; checkout isn't tracked.
Build a funnel from any custom events or URL paths and see how many visitors reach each step and where they drop off.
Send events from JavaScript or plain HTML attributes — plus the events Linqry records for you automatically.
What Linqry stores, what it never stores, how visitors are counted, and what that means for cookie banners.
Start measuring your Wix site
No card required · 30-day trial · No cookies