Your storeTreemap + countReal: orders placed on this page
See which products are earning, in dollars, as orders come in
Place an order below. The product's tile grows by the order's total, and the count at the top ticks up, for everyone watching.
Place an order:
Northwind Shop · AdminToday · Orders · Products
Sales by product
Each tile is a product, sized by the dollars it brought in across the last 50 orders.
What each order posts:
{
"key": "Canvas Sneaker",
"description": "Canvas Sneaker",
"imageUrl": "https://…/product.jpg",
"value": 59,
"prefix": "$"
}A $179 order grows its tile three times as much as a $59 one. The number at the top counts every order in the last hour and rolls up as new ones land.
How it's set up
The whole demo, in a few lines.
- Source
- Your store. After checkout, post the product as a small JSON item with the order total as its value.
- Look
- A treemap: one tile per product, sized by the sum of its values. Leave the value out and tiles size by how many orders they have.
- Count
- The vital-count tag shows how many items the wall got in the last hour or day. It takes your page’s font and color.
- Here
- The order buttons ask our server to post through the MCP server, so no key is on this page.
<script type="module" src="https://vitalwall.com/v1/vitalwall.js"></script>
<!-- After checkout: post the product with the order total as its value -->
<script>
VitalWall.track({
wall: 'YOUR_WALL_ID',
key: 'YOUR_WALL_KEY',
item: JSON.stringify({
key: order.product.name,
description: order.product.name,
imageUrl: order.product.imageUrl,
value: order.total,
prefix: '$',
}),
})
</script>
<!-- In your header: a live count of orders -->
<vital-count wall="YOUR_WALL_ID" window="hour" label="orders in the last hour"></vital-count>
<!-- On the dashboard: the treemap -->
<vital-wall wall="YOUR_WALL_ID" layout="treemap"></vital-wall>The treemap adds up the wall's most recent items, up to its display limit. Set it in the wall's settings.
Build a wall that fits your site.
Free plan, no card needed.
