Developer Guide

Embed Widgets

Choose either widget below, then copy the embed snippet for your site. Each option loads from app.sportsreports.app and supports fixed or auto-height embedding.

Show the latest activity and updates from Sports Reports.

Quick Embed (Fixed Height)

Best for simple pages where a fixed height is acceptable.

Recommended Embed (Auto Height)

Uses postMessage so the iframe grows to fit widget content.

Usage Notes

  • Widget URL: https://app.sportsreports.app/widgets/activity
  • Only trust resize messages from https://app.sportsreports.app
  • Use loading="lazy" for performance
  • Include allow="geolocation *" on the iframe if you want the Map widget's My Location button to work
  • Clamp iframe height to safe min/max values
  • Use referrerpolicy="strict-origin-when-cross-origin"
  • Current target sports: Golf, Squash, Tennis, Table Tennis, and Snooker
  • Recommended minimum height: 280px

Live Preview

Preview of the Activity Feed widget: