Skip to main content
Logo
Explore APIsContact Us
  • Home
  • Match Preview
  • Tournament Preview
  • Virtual Stadium
  1. Resources
  2. Widgets
  3. Frequently Asked Questions

Frequently Asked Questions

This page addresses frequently encountered questions regarding widget integration, configuration, and troubleshooting.

#Topics

  • Client ID Authentication
  • Widget Integration
  • Widget State Monitoring
  • Troubleshooting
  • Widget Name Resolution
  • Widget Customization
  • Match ID Retrieval
  • Licensing Errors
  • Widget Errors
  • Live Match Tracker
    • Coverage Documentation
    • Error Resolution

#Client ID Authentication

The Client ID is a 32-character unique identifier automatically generated during account provisioning. This identifier serves as the primary authentication mechanism for all widget integrations.

Key characteristics:

  • Auto-generated upon account creation
  • Bound to all orders within the account scope
  • Provides access to all enabled products under the account
  • Required for widget initialization and API authentication
info

To obtain a Client ID, contact our Sales Team to initiate account setup.

#Widget Integration

Widgets integration follows the same pattern, with widget-specific details. For general info, see Getting Started Guide, for widget-specific details see documentation for specific widgets

info

For comprehensive integration examples and implementation patterns, refer to the Getting Started Guide.

#Widget State Monitoring

All widgets expose an onTrack callback property that enables event-driven monitoring of widget lifecycle states (e.g. when widget has loaded) and user interactions.

info

For detailed explanation and usage examples see Tracking Guide.

#Troubleshooting

For widget integration or runtime issues, follow a systematic diagnostic approach, as documented in the Troubleshooting Guide.

#Widget Name Resolution

Widget names follow a namespaced naming convention (e.g., match.statistics, tournament.preview) and are required for both the addWidget() method and data-sr-widget attribute.

Resolution methods:

  1. Navigate to the specific widget documentation page (e.g., Match Statistics)
  2. Locate the Required Parameters section, first listing is the widget-name value.
  3. Use the exact name in your implementation

Example: The Match Statistics widget uses the name match.statistics

#Widget Customization

The Widgets Demo provides an interactive configuration interface for visual customization and code generation.

note

Customization options vary by widget type. Refer to individual widget documentation for available configuration parameters.

info

See Theming Guide and Customization Guide for advanced explanation.

#Match ID Retrieval

Match IDs are numeric identifiers required for match-specific widget instantiation. These can be obtained through the Widgets Demo interface or via API endpoints.

Retrieval via Widgets Demo:

  1. Navigate to Widgets Demo
  2. Select the desired sport from the available options
  3. Choose a specific match from the match list
  4. Extract the matchId parameter from the browser URL

Example URL structure:

text
https://widgets.sir.sportradar.com/live-match-tracker#matches:(matchId:29524624,sportId:1)

In this example, the Match ID is 29524624.

#Licensing Errors

Licensing errors occur when authentication fails or when attempting to access products outside your subscription scope.

Common causes:

  • Invalid or expired Client ID
  • Insufficient product permissions
  • Geographic or coverage restrictions
  • Subscription limitations
info

For detailed licensing troubleshooting and resolution procedures, consult the Licensing Errors.

#Widget Errors

Widget errors encompass runtime exceptions, configuration issues, and data availability problems.

Error categories:

  • Initialization errors: Configuration or authentication failures
  • Runtime errors: Data fetch failures or rendering issues
  • Validation errors: Invalid parameters or missing required fields
info

For a comprehensive error code reference and resolution strategies, refer to the Widget Errors Documentation.

#Live Match Tracker

#Coverage Documentation

Live Match Tracker (LMT) coverage varies by sport, competition, and geographic region.

Coverage assessment:

Review the Coverage Page to determine LMT availability for specific sports and competitions.

tip

The Live Score column is the primary indicator of LMT availability. LMT coverage typically aligns with the Live Score coverage tier for each competition.

Coverage tiers:

  • Different coverage levels provide varying degrees of data granularity
  • Tier definitions and feature availability are detailed in the coverage page

#Error Resolution

LMT-specific errors are frequently related to licensing constraints or coverage limitations.

Diagnostic approach:

  1. Identify the specific error code or message
  2. Verify licensing permissions for the requested sport/competition
  3. Confirm match coverage availability in the coverage document
  4. Validate Match ID and configuration parameters
info

Most LMT errors stem from licensing issues. Consult the Licensing Documentation for resolution procedures.

Last updated 13 days ago
Is this site helpful?
Widgets, Engagement Tools
Widget Tracking & Analytics GuideFinding Identifiers
On this page
  • Topics
  • Client ID Authentication
  • Widget Integration
  • Widget State Monitoring
  • Troubleshooting
  • Widget Name Resolution
  • Widget Customization
  • Match ID Retrieval
  • Licensing Errors
  • Widget Errors
  • Live Match Tracker
  • Coverage Documentation
  • Error Resolution