Profit tracker widget
In-browserA private bet ledger with running P&L, ROI and CSV export.
Loading the interactive widget…
Accent, surface, text and radius are the only overridable tokens — a bounded set that keeps widgets readable and on-brand.
The code below matches the preview exactly — theme it above, then copy.
<div data-or-widget="profit-tracker"
data-or-theme="dark"></div>
<script src="https://oddsrelay.io/widgets/oddsrelay-widgets.js" async></script>Paste it once, anywhere. The script auto-mounts every data-or-widget element and is style-isolated in a Shadow DOM, so it never clashes with your CSS.
Installing on WordPress, Webflow, Squarespace, Wix or React?
- WordPress
- Add a Custom HTML block (or switch the classic editor to the Text tab) and paste the snippet.
- Webflow
- Drop in an Embed element, paste the snippet, and publish — the widget renders on the published site.
- Squarespace
- Insert a Code block where you want the widget and paste the snippet as HTML.
- Wix
- Add an Embed HTML element (iFrame-free custom code) and paste the snippet.
- React / Next.js
- Render the div, then load the script once (e.g. next/script or an effect). The bundle auto-mounts new [data-or-widget] elements; call window.OddsRelay.scan() after client-side navigations if needed.
The profit tracker keeps a personal ledger of qualifying bets and free bets with a running P&L, ROI and win/loss record. It stores everything in the visitor's own browser (localStorage) — nothing is sent to a server, so it's private by construction. Embed it next to the oddsmatcher and a click on any board row logs the bet straight into the tracker.
What it does
- Running P&L, ROI, total staked and a W–L–P record at a glance
- Log qualifying bets and free bets, settle them as won or lost
- One-click logging from an oddsmatcher widget on the same page
- CSV export; the ledger lives in the browser's localStorage, private to the visitor
How to use it
- 1Log a bet. Add the event, bet type, stake and locked profit — or click Log on an oddsmatcher row.
- 2Settle it. Mark the bet won or lost when it lands; the running totals update instantly.
- 3Track the campaign. Watch the P&L, ROI and record climb — and export the ledger as CSV any time.
What powers this
The profit tracker stores its ledger in the visitor's own browser (localStorage) — no account, no key, and nothing is sent to OddsRelay or any server. It's private by construction, and the CSV export is the backup.
Questions
- Where is the data stored?
- In the visitor's own browser, using localStorage. Nothing is sent to OddsRelay or any server — clearing the browser's site data clears the ledger, and the CSV export is the backup.
- Can it log bets from the oddsmatcher?
- Yes. When a profit tracker and an oddsmatcher are embedded on the same page, the Log button on any board row records that opportunity into the tracker automatically.
- Do my visitors need an account?
- No. The tracker needs no account, no key and no sign-up — it's a private, in-browser ledger your visitors can use immediately.
18+ · Data product for licensed operators. Please gamble responsibly.
Building a betting product?
Every widget here is free to embed. When you need the feed behind them — matched, rated, bet365 included — start a free trial or get in touch.