On Wix, add the widget as Custom Code in your site settings, on all pages, in the head. According to Wix, the site must be published and connected to a domain.
Mark images through their alt text, for example “Vase on a wooden table (AI-generated)”. The HTML element in the editor does not work, because it is an iframe and cannot see the images on your page.
Add the script tag
<script src="https://www.ai-label.app/widget.js" defer></script>
- In your site's dashboard, go to Settings and, under Development & integrations, open Custom Code.
- Click + Add Custom Code, paste the script tag and give it a name such as “AI label”.
- Under the pages option, choose All pages and load the code on each page a visitor opens.
- Place the code in the Head and click Apply.
Check the label on the live site, not in the editor preview. The “HTML” and “URL” elements in the editor are iframes. A script inside runs in its own frame and cannot reach the images on your page.
Mark images
Which images need a label is your decision, for example with the labelling check. The widget only labels marked images, in three ways that can be combined:
- Attribute on the image:
data-ai-label="generated"for images created entirely with AI,data-ai-label="modified"for photos edited with AI. - File name with a marker before the extension:
vase--ai.jpgorvase--ai-mod.jpg. - Alt text ending in “(AI-generated)” or “(AI-modified)”.
On Wix, mark images through the alt text in the editor's image settings. Product images in Wix Stores are added in the product's media; check there where you can maintain their alt text.
The file name is unreliable on Wix, because Wix serves media under its own addresses. Whether --ai survives shows in the page source of the live site. The data-ai-label attribute cannot be set in the standard editor.
Pitfalls
- Selected pages only: if you added the code only to specific pages, new pages lack the label. “All pages” includes pages created later.
- Galleries: galleries load images while scrolling. The widget detects images added later, but check once anyway.
- Alt text per image: the same image in two places often has two alt texts. Add the suffix everywhere.
Limits of the widget
- The widget only reaches
<img>elements on pages with the script. Background images from the stylesheet and images under 48 pixels (adjustable withdata-min) stay unlabelled. - Check whether the label appears in cart and checkout.
- It cannot reach emails such as order confirmations. For images outside your website, create a copy with the label burned in using Label an AI image.
- Privacy: when the script loads from ai-label.app, our host sees the IP address, as with any request. The script sets no cookies. Mention it in your privacy policy.
Native app
A dedicated Wix app is planned. There is no date yet.
Frequently asked questions
Why can't I see the label in the preview?
According to Wix, custom code only runs on the published site with a connected domain.
How do I mark product images in Wix Stores?
With alt text ending in “(AI-generated)”, where you can maintain it for the product image.
Sources
Para. refers to the paragraph number in the European Commission's guidelines on Article 50, C(2026) 5054.
- Wix: Embedding custom code on your siteWix · Platform · 11 Oct 2026
- Wix: Optimizing your images and galleries for SEO (alt text)Wix · Platform · 11 Oct 2026
- Wix Stores: Adding images, GIFs and videos to productsWix · Platform · 11 Oct 2026
- Wix: Embedding a site or a widget (iframe)Wix · Platform · 11 Oct 2026
- Code of Practice on Transparency of AI-Generated Content (final version)Europäische Kommission · Code of practice · 10 Jun 2026
- Regulation (EU) 2024/1689 (AI Act)EUR-Lex · Law · 12 Jul 2024


