Platform guide

Cookie consent on Wix.

Wix supports dashboard custom code on a published site with a connected domain. Wix now offers a Usercentrics banner for new installations, while existing sites may still have its legacy banner, so identify the active system before adding another.

Install
Script tag via custom code
Where
Settings, custom code, head
Needs
Published site and connected domain
Watch
Usercentrics or a legacy Wix banner

Adding the snippet

Wix exposes dashboard custom code on a published site with a connected domain, with controls for applicable pages and placement. Choose all relevant pages and the head so the runtime starts early. This does not block tags, apps or embeds that execute independently; each still needs a supported consent policy, inert markup or conditional loader. These platform instructions were verified on 19 September 2026 and should be rechecked when Wix changes its dashboard or plans.

Custom code, head, all pages

<script
  src="https://strongprivacy.com/embed/v1.js"
  data-site-id="YOUR_SITE_ID"
  data-api-base="https://strongprivacy.com"
  data-privacy-url="/privacy"
  data-platform="custom"
  defer
></script>

Wix’s current custom-code documentation requires the site to be published and have a connected domain. A connected custom domain in turn requires an upgraded site. Narrower SEO or verification fields available on a free site are not an arbitrary JavaScript runtime route.

Wix and Usercentrics consent tooling

For new installations, Wix currently offers a Usercentrics for Wix banner; Wix says its former native banner is no longer available to new sites but remains configurable on sites that already use it. The current banner can gate listed Wix-managed integrations, but Wix expressly says it cannot guarantee control of every third-party app or custom-code item. Run one visible consent system, document how it hands choices to Wix-managed services, and verify custom code separately.

Common questions

Can I add custom code on a free Wix site?

Not through the site-wide dashboard custom-code workflow used for this runtime: Wix currently requires a published site with a connected domain, and connecting a custom domain requires an upgraded site. A free site can expose limited SEO verification tags, but those fields do not accept an arbitrary consent script.

Sources and verification

Verified on . Product-behaviour statements were checked against the current implementation and tests. The links below are the verification basis recorded for this article. They support the stated facts, not a legal conclusion for every site or configuration; recheck changing vendor behaviour before relying on it in production.

See what your own site is loading

A browser scan reports the requests and storage it observed during the sampled journey. Use configured workspace scans to compare the states and pages that matter to your implementation.