# Virtual try-on for WAKE

> Install virtual try-on in WAKE Storefront through a JavaScript snippet in the product template. Review configuration, publishing, and validation.

Canonical: https://provei.ai/en/platforms/wake

![WAKE logo](https://provei.ai/logos/platforms/wake.svg) WAKE

Install the Provei.AI widget in WAKE Storefront through the product template. Integration uses the asynchronous snippet generated in the dashboard and requires registering or importing products in Provei.AI.

10–20 minutes Intermediate

Install with the JavaScript snippet generated in the Provei.AI dashboard

Apply it to the WAKE Storefront product template

Asynchronous loading with no additional app or plugin

Safely validate in a branch or preview theme before publishing

[View installation ](https://provei.ai/en/platforms/wake#installation)[Discuss your WAKE integration](https://provei.ai/en/contact)

## Installation code

Copy the complete snippet from the Provei.AI dashboard and install it where this guide indicates.

- The Provei.AI snippet does not require a platform-specific marketplace app; some platforms use a script manager or custom module to place it.
- The script is asynchronous and does not block loading.
- Removing the script stops virtual try-on from loading after the updated storefront is published and caches are refreshed.

Snippet Use the dashboard script

Copy the complete code from the Instalação (Installation) screen in the Provei.AI dashboard and paste it once at the end of the theme, right before \</body>. Each contracted try-on has its own code.

## Step-by-step installation

To install the snippet in your WAKE store, follow one of the options below. Recommended location: Product template, before \</body>.

### WAKE Storefront (product template)

Storefront > Repository (Git) > Pages/product.html

1. #### Register your store domains in Provei.AI

   Add the production origin and, when applicable, the non-www, preview, staging, or regional domains that will load the widget.

2. #### Register or import products

   Associate each product with the exact public URL of its corresponding WAKE page. Also configure size charts and data when using size widgets.

3. #### Copy the snippet generated in the Provei.AI dashboard

   On the Instalação (Installation) screen of the dashboard, choose the correct try-on and copy the complete code. Use the URL generated by the dashboard instead of building the endpoint manually.

4. #### Find the WAKE product template

   In the Storefront repository, check Configs/pages.json for the file mapped to the product type and open the corresponding template in Pages/.

5. #### Add the snippet at the end of the template

   Paste the snippet near the end of the product template, preferably before \</body> when that tag is in the file.

6. #### Publish to preview first

   Commit to the preview branch or theme, validate the journey on desktop and mobile, and only then publish through the store’s normal workflow.

### Important notes

- Provei.AI does not have a native WAKE/FBits connector for automatic catalog synchronization.
- Always use the exact snippet from the dashboard: Fashion, Furniture, and Sizing may use different endpoints.
- If the store navigates between products without a page reload, validate widget updates during route changes.
- Check CSP, CORS, and network responses for Provei.AI domains before publishing.

## Benefits for WAKE stores

Provei.AI adds virtual try-on to the storefront through the installation method described for this platform.

### Integration through the existing Storefront

The widget enters the WAKE product template through JavaScript and requires no separate application for basic installation.

### Asynchronous loading

The snippet loads asynchronously and can be limited to product pages, avoiding unnecessary JavaScript on search, category, account, and checkout pages.

### Preview-controlled publishing

WAKE’s repository workflow lets you test the integration in a branch or preview theme before taking the change to production.

### Compatible with Provei.AI widgets

Installation uses the snippet generated for the contracted product, including Fashion, Furniture, or Sizing, according to account configuration.

### Matching through the public URL

For basic installation, the widget uses the current page URL to find the product registered in Provei.AI.

### A straightforward way to start

Stores can begin with manual registration or feed import and evaluate a catalog connector only when volume or change frequency justifies it.

## About the integration

## WAKE Storefront virtual try-on through JavaScript

**WAKE Storefront** lets you edit HTML and JavaScript templates and integrate third-party services. That is why basic **Provei.AI on WAKE** installation uses the same asynchronous snippet available for other platforms: copy the code generated in the dashboard and add it to the product template.

This compatibility covers widget loading and execution. It is not a native catalog connector: today, products, public URLs, and size data must be registered or imported separately in Provei.AI.

## Preparing the integration

Before changing the theme, register your store’s production origin in Provei.AI and any additional domain that will actually load the widget. This includes, when used, the non-www domain, preview or staging addresses, and regional domains.

Then associate each product with the exact public URL of its WAKE page. The widget reads the browser’s current URL to find the matching registration. For [size charts](https://provei.ai/en/products/size-chart), recommendations, or size comparisons, also configure the applicable measurements in the Provei.AI dashboard.

## Installing in the product template

In the WAKE Storefront repository, open `Configs/pages.json` and find the mapping whose type is `product`. That record points to the page file used by the store, normally a template inside `Pages/`.

Paste the Provei.AI snippet near the end of that template, preferably before `</body>` when the tag is in the file. Installing it only on product pages avoids unnecessarily loading the widget on search, category, account, and checkout pages.

Use the complete code copied from the **Instalação** (Installation) screen of the dashboard. Fashion, Furniture, and Sizing may use different endpoints, so do not build the script URL manually.

## Pre-production validation

Publish first to a branch or preview theme and confirm that:

- the Provei.AI button appears on the correct product;
- the experience opens and completes its main flow;
- desktop and mobile layouts remain usable;
- there are no CSP, CORS, or console script blocks;
- requests to Provei.AI return successfully;
- moving between product pages continues to select the correct item.

If the store uses client-side navigation, test changing products without a page reload. There is currently no dedicated WAKE lifecycle adapter, so this scenario must be confirmed in the real theme.

## Catalog synchronization

The snippet does not import the catalog automatically. Start with manual registration or a compatible feed. A custom connector using the WAKE API makes sense when the catalog is large or changes frequently and needs to synchronize IDs, URLs, images, categories, and status.

Also consult the [WAKE Storefront overview](https://wake.tech/wake-commerce/storefront/), [`pages.json` documentation](https://wakecommerce.readme.io/docs/pagesjson), [page structure](https://wakecommerce.readme.io/docs/pages), and the [Git repository integration workflow](https://wakecommerce.readme.io/docs/integracao-com-repositorio-git).

[Talk to Provei.AI about your WAKE store](https://provei.ai/en/contact) to validate the product, snippet, and most appropriate registration flow.

For the current step-by-step setup in the dashboard, see the [other platforms installation guide in the Help Center](https://provei.ai/ajuda/en/instalacao/outras-plataformas/).

## Frequently asked questions

Quick answers about installation and how it works.

1 Is Provei.AI compatible with WAKE Storefront?

Yes. Basic installation is compatible through the asynchronous JavaScript snippet inserted in the WAKE Storefront product template.

2 Is there a native integration between Provei.AI and WAKE or FBits?

Not yet. The widget works through a script, but the catalog is not automatically synchronized by a native WAKE/FBits connector.

3 Where should I install the snippet in WAKE?

Check Configs/pages.json for the file serving the product type, open the corresponding template in Pages/, and paste the snippet near the end, preferably before \</body>.

4 Do I need to register WAKE products in Provei.AI?

Yes. For basic installation, products must be registered or imported separately and linked to the exact public URLs of their WAKE pages.

5 Can I test the widget before publishing?

Yes. Use a WAKE preview branch or theme, register the preview domain in Provei.AI, and validate the journey before publishing to production.

6 Does the widget work when the store changes products without reloading the page?

This behavior must be validated in the theme. Provei.AI uses the current URL to find the product, but it does not have a dedicated adapter for WAKE route changes.

## Other platforms

Explore other platform installation guides.

[![Shopify logo](https://provei.ai/logos/platforms/shopify.svg)](https://provei.ai/en/platforms/shopify)

### [Shopify](https://provei.ai/en/platforms/shopify)

[Shopify virtual try-on with a five-minute installation for your store.](https://provei.ai/en/platforms/shopify)

[View installation guide](https://provei.ai/en/platforms/shopify)

[![WooCommerce logo](https://provei.ai/logos/platforms/woocommerce.webp)](https://provei.ai/en/platforms/woocommerce)

### [WooCommerce](https://provei.ai/en/platforms/woocommerce)

[WooCommerce virtual try-on installed through WordPress in about five minutes. Integrate in five minutes and increase sales with AI.](https://provei.ai/en/platforms/woocommerce)

[View installation guide](https://provei.ai/en/platforms/woocommerce)

[![VTEX logo](https://provei.ai/logos/platforms/vtex.svg)](https://provei.ai/en/platforms/vtex)

### [VTEX](https://provei.ai/en/platforms/vtex)

[Enterprise VTEX virtual try-on for large B2B and B2C operations.](https://provei.ai/en/platforms/vtex)

[View installation guide](https://provei.ai/en/platforms/vtex)

[![Nuvemshop logo](https://provei.ai/logos/platforms/nuvemshop.svg)](https://provei.ai/en/platforms/nuvemshop)

### [Nuvemshop](https://provei.ai/en/platforms/nuvemshop)

[Accessible, easy-to-install Nuvemshop virtual try-on for Brazilian stores.](https://provei.ai/en/platforms/nuvemshop)

[View installation guide](https://provei.ai/en/platforms/nuvemshop)

[![Magento logo](https://provei.ai/logos/platforms/Magento.svg)](https://provei.ai/en/platforms/magento)

### [Magento](https://provei.ai/en/platforms/magento)

[Virtual try-on for Magento 2 and Adobe Commerce with multi-store, B2B, and enterprise support.](https://provei.ai/en/platforms/magento)

[View installation guide](https://provei.ai/en/platforms/magento)

[![Tray logo](https://provei.ai/logos/platforms/tray.webp)](https://provei.ai/en/platforms/tray)

### [Tray](https://provei.ai/en/platforms/tray)

[Tray virtual try-on installs in five minutes. Increase Tray e-commerce sales with AI technology.](https://provei.ai/en/platforms/tray)

[View installation guide](https://provei.ai/en/platforms/tray)

[![Squarespace logo](https://provei.ai/logos/platforms/squarespace.webp)](https://provei.ai/en/platforms/squarespace)

### [Squarespace](https://provei.ai/en/platforms/squarespace)

[Squarespace virtual try-on installed through Code Injection.](https://provei.ai/en/platforms/squarespace)

[View installation guide](https://provei.ai/en/platforms/squarespace)

[![Wix logo](https://provei.ai/logos/platforms/wix.svg)](https://provei.ai/en/platforms/wix)

### [Wix](https://provei.ai/en/platforms/wix)

[Wix virtual try-on for site creators. Simple Custom Code installation in minutes.](https://provei.ai/en/platforms/wix)

[View installation guide](https://provei.ai/en/platforms/wix)

[![PrestaShop logo](https://provei.ai/logos/platforms/prestashop.webp)](https://provei.ai/en/platforms/prestashop)

### [PrestaShop](https://provei.ai/en/platforms/prestashop)

[Open-source PrestaShop virtual try-on. Fully customize your PrestaShop try-on experience.](https://provei.ai/en/platforms/prestashop)

[View installation guide](https://provei.ai/en/platforms/prestashop)

[![Yampi logo](https://provei.ai/logos/platforms/yampi.webp)](https://provei.ai/en/platforms/yampi)

### [Yampi](https://provei.ai/en/platforms/yampi)

[Virtual try-on for Yampi stores, installed through Loja Virtual > Scripts.](https://provei.ai/en/platforms/yampi)

[View installation guide](https://provei.ai/en/platforms/yampi)

[![Loja Integrada logo](https://provei.ai/logos/platforms/loja-integrada.svg)](https://provei.ai/en/platforms/loja-integrada)

### [Loja Integrada](https://provei.ai/en/platforms/loja-integrada)

[Use virtual try-on on Loja Integrada and increase conversions in minutes.](https://provei.ai/en/platforms/loja-integrada)

[View installation guide](https://provei.ai/en/platforms/loja-integrada)

[![Bagy logo](https://provei.ai/logos/platforms/bagy.svg)](https://provei.ai/en/platforms/bagy)

### [Bagy](https://provei.ai/en/platforms/bagy)

[Bagy virtual try-on: increase conversions in minutes with a simple installation](https://provei.ai/en/platforms/bagy)

[View installation guide](https://provei.ai/en/platforms/bagy)

[![Magazord logo](https://provei.ai/logos/platforms/magazord.svg)](https://provei.ai/en/platforms/magazord)

### [Magazord](https://provei.ai/en/platforms/magazord)

[Virtual try-on for Magazord stores with script-based installation.](https://provei.ai/en/platforms/magazord)

[View installation guide](https://provei.ai/en/platforms/magazord)

[![Dooca logo](https://provei.ai/logos/platforms/dooca-commerce.png)](https://provei.ai/en/platforms/dooca)

### [Dooca](https://provei.ai/en/platforms/dooca)

[Install Provei.AI virtual try-on on Dooca in about five minutes.](https://provei.ai/en/platforms/dooca)

[View installation guide](https://provei.ai/en/platforms/dooca)

[![Wbuy logo](https://provei.ai/logos/platforms/wbuy.webp)](https://provei.ai/en/platforms/wbuy)

### [Wbuy](https://provei.ai/en/platforms/wbuy)

[Wbuy virtual try-on for stores selling through live streams and social commerce.](https://provei.ai/en/platforms/wbuy)

[View installation guide](https://provei.ai/en/platforms/wbuy)

## Ready to activate Provei.AI?

Follow the platform guide to place the dashboard snippet and validate it before publishing.

[Discuss the WAKE integration](https://provei.ai/en/contact)

## Related

- [Português (Brasil)](https://provei.ai/plataformas/wake)
