HELP / ANALYTICS & API
Track revenue from testimonials
See which sales came from customers who saw your testimonials first, and the revenue behind them — Starter and Pro.
1 MIN READ
Revenue attribution answers a specific question: did the testimonials on your site actually help sell anything? It is a Starter and Pro feature, on the Analyze page's Sales section.
Install the snippet
Paste a small script on your purchase or thank-you page, once. The exact snippet, with your workspace ID already filled in, is on the Analyze page itself — copy it from there. It looks like this:
<script>
try {
navigator.sendBeacon("https://app.kudokit.co/api/beacon", JSON.stringify({
w: "YOUR_WORKSPACE_ID",
surface: "site",
event: "conversion",
url: location.href,
value: Number(window.KUDO_VALUE) || 0,
seen: !!localStorage.getItem("kudo_seen")
}));
} catch (e) {}
</script>
Set the order value
Set window.KUDO_VALUE to the order total before the snippet runs, so revenue is tracked alongside the sale count. Skip it and Kudokit still counts the sale — just without a figure attached.
What "attributed" means
If a visitor saw one of your Kudokit widgets, walls or popups earlier in that browser, Kudokit already knows. A sale from that browser afterwards counts toward Sales after seeing testimonials, and its value toward Revenue from those sales — separate from your total sale count, which counts every purchase the snippet sees.
What this is not
There is no Shopify, WooCommerce or other storefront connection — this is a small script you add yourself, not an integration you connect. If you would rather not add code to your checkout page, the rest of Analyze — views, engagement — still works without it; only the Sales section stays empty.
Related
Support
Still stuck? Email support.
A human replies — usually within a few hours.