Integrating with Wix
Integrating Armanet with your Wix store is a seamless process that can be completed in just a few steps. This guide will walk you through the process of installing the Armanet plugin in your Wix store, allowing you to track customer behavior, conversion rates, return on ad spend, and other key metrics.
Add Armanet SDK
To enable full functionality, including detailed conversion tracking and customer behavior analysis, you need to include our SDK in your Wix Custom Code section.
- In your Wix Admin Panel, go to Settings
- Click on Custom Code for your active store

- In the Code Settings tab, paste the following code:
<script src="https://assets.armanet.us/armanet-pxl.js"></script>
<script>
window.ArmaLayer = window.ArmaLayer || [];
function registerListener() {
window.wixDevelopersAnalytics.register('head', function (eventName, eventParams) {
if (eventName === 'AddToCart') {
sendEventAddedToCart(eventParams);
}
if (eventName === 'Purchase') {
sendEventPurchased(eventParams);
}
});
}
function sendEventAddedToCart(item) {
window.ArmaLayer.push(function () {
var transformedPayload = {
itemId: item.id,
upc: item.sku,
price: item.price,
quantity: item.quantity
};
Armanet.sendEvent('addedToCart', transformedPayload);
});
}
function sendEventPurchased(payload) {
window.ArmaLayer.push(function () {
var transformedPayload = {
orderNumber: payload.orderId,
orderTotal: payload.revenue,
};
Armanet.sendEvent('purchased', transformedPayload);
});
}
if (window.wixDevelopersAnalytics) {
registerListener();
} else {
window.addEventListener('wixDevelopersAnalyticsReady', registerListener);
}
</script>
- In the Add Code to Pages option, select All pages and then Load code on each new page from the dropdown.
- In Place Code In, select Body - start.
- Make sure options look like this:

- In the Code Type tab, choose Essential.

- Click Apply to setup the integration. Our SDK will now track key metrics and send them to our platform for processing.