Use case
Inline odds fit articles that reference a specific market in prose. For example: “The Lakers enter tonight’s game as 4.5-point favorites”, where the spread comes from a live Odds Text widget instead of being hard-coded. The number stays current without editorial updates.Embed code
Place the SDK script tag once on the page, then add a<span> with data-tallysight-widget-type="odds-text" inline in your article content:
Controlling the odds source
Theconfig-odds-by attribute sets which platform’s odds the widget displays. Use best-odds for the best available line across the platforms in your workspace, or pass a platform slug to pin the widget to one platform:
How it renders
The widget renders as an inline element containing the formatted odds value, for example-4.5 or +110. It fits into a sentence alongside the surrounding text. The odds format follows the same geolocation-based detection as other Tallysight widgets: American odds for US visitors, decimal for European visitors, and so on. Override it with data-tallysight-widget-config-format if you need a fixed format.