JAVASCRIPT EMBED
JavaScript live-score embed
Use the JavaScript embed when you want a clean integration without manually sizing an iframe. It creates a responsive widget inside your chosen page element.
Get started ↓ONE SNIPPET
Paste this where you want the card to appear
Replace the sport and team values with the exact LiveScores team name. The script creates a responsive iframe and does not require a framework.
<div class="livescores-widget" data-sport="football" data-team="Stellenbosch FC"></div>
<script async src="https://www.livescores.co.za/assets/js/publisher-embed.js"></script>
COMMON QUESTIONS
Before you publish
Do I need a framework to use the JavaScript embed?
No. Add the placeholder element and the one script tag to a normal HTML page, CMS content block or site template.
What does the JavaScript embed display?
It displays the selected team’s next publishable fixture, live score or most recent final result, depending on what is currently available.
USE IT WELL
Made for useful coverage.
These tools are free for sensible editorial, club, school and community use. Keep the LiveScores attribution visible, do not imply a partnership, and do not use automated polling to reproduce the score service.

