How to add a live purchase feed to your store
One tag on the Buy button, one tag for the wall, and every order shows up as a card with its photo and price.

A product page tells shoppers what you sell. A live purchase feed shows them that people are buying it right now. In this how-to we build one with two tags: one on the Buy button that posts the order, and one that shows the wall.
Try it first on our live store demo. Press Buy on any shoe and the order lands on the wall beside it, with the shoe's photo and price, for everyone looking at that page.

What you'll build
- Source: clicks on your own site. The Buy button sits inside a
vital-tracktag, which posts an item to your wall each time it's clicked. - Look: a list wall of rich cards. Each item is a small piece of HTML with the product photo, name and price.
Step 1: Create a wall
Sign in to VitalWall, open My Walls and press Create Wall. Give it a name, like "Recent orders", and type your store's domain in Your website.
The domain matters. A wall only accepts posts from the domains you add to it, so nobody else can post orders to your feed from their site.
When you press Create Wall, we take you straight to its setup page. Step 1 there, Put It On Your Site, has your install code with your wall ID filled in, and step 3, Send Your First Event, has your wall's API key filled in. The key can sit in your page code, because it only posts to this one wall.
Step 2: Add the script once
Put this anywhere on your store's pages, once:
<script type="module" src="https://vitalwall.com/v1/vitalwall.js"></script>
Step 3: Wrap your Buy button
Put your existing Buy button inside a vital-track tag:
<vital-track wall="YOUR_WALL_ID" api-key="YOUR_WALL_KEY" on="click" html item='<img src="/img/classic-runner.jpg" width="52"> Just ordered <b>Classic Runner</b> $89'> <button>Buy</button> </vital-track>
Here's what each part does:
on="click"posts an item every time what's inside the tag is clicked. Leave it off and the tag posts once when the page is viewed instead.htmltells the wall the item is HTML, so the photo and bold name show as a card instead of plain text.itemis the card itself. Use your product's own photo, name and price.
The vital-track tag doesn't draw anything of its own. Your button looks and works exactly as it did before.
Step 4: Show the wall
Put the wall wherever the feed should go, beside the product, in a sidebar or on your homepage:
<vital-wall wall="YOUR_WALL_ID" layout="list"></vital-wall>
layout="list" stacks the newest order on top. That's it: load the page, press Buy, and the card appears.
Make the cards look like your store
The item is HTML, so you can style it with inline styles. This is the card our demo store posts:
<div style="display:flex;align-items:center;gap:12px"> <img src="https://your-store.com/img/classic-runner.jpg" alt="" width="52" height="39" style="width:52px;height:39px;border-radius:8px;object-fit:cover"> <div> <div style="font-size:12px;opacity:.65">Just ordered</div> <div style="font-weight:600">Classic Runner</div> </div> <div style="margin-left:auto;font-weight:700">$89</div> </div>
We clean item HTML before it's shown. Images, links and inline styles stay. Scripts never run.
Only post orders that were paid
A tag on the Buy button posts when someone clicks it, whether or not they finish checking out. That's fine for a "people are shopping" feed. For real orders only, post from your own code after checkout succeeds instead:
<script> function onOrderPlaced(order) { window.VitalWall.track({ wall: 'YOUR_WALL_ID', key: 'YOUR_WALL_KEY', item: '<img src="' + order.image + '" width="52"> Just ordered <b>' + order.product + '</b>', html: true, }) } </script>
Call it on your order confirmation page, once the payment has gone through. It runs in the browser, so that page has to be on one of the wall's domains too.
See it running
The live store demo is built this way, and its "How it's set up" section shows the same tags. Press Buy a few times and watch the feed fill up.
Want to see your own data move? Start free on VitalWall. No credit card needed.
Related Posts

How to show sales by product on a live treemap
A treemap wall where each product's tile grows by the dollars it earns, plus a live "orders in the last hour" count you can drop into any page header.

How to Show Your Readers on a Live Globe
One script tag and one element put a live visitor globe on your site. No tracking code and no key on the page, location kept to the city, and it can shrink to a one-line "readers in the last hour" footer.

How to Build a Live Earthquake Feed From USGS
Point a VitalWall list wall at the USGS earthquake feed and every M4.5+ earthquake from the past day shows up on your site or TV, refreshed every minute.