> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/golf-integration/golf-ec-deep-linking/sandbox-examples.md).

# GEC Deep Linking Modules

The Golf Event Centre supports initialization across multiple predefined view configurations. Each view is enumerated below, accompanied by corresponding Sandbox instantiation examples for reference and testing.

| Module name         | Description                                      | Notes                                                               |
| ------------------- | ------------------------------------------------ | ------------------------------------------------------------------- |
| `full`              | All Event Centre                                 |                                                                     |
| `leaderboard`       | Leaderboard Only (no global navigation)          |                                                                     |
| `leaderboarddetail` | Leaderboard & Team/Player (no global navigation) |                                                                     |
| `course`            | Course & Hole Only (no global navigation)        |                                                                     |
| `hole`              | Hole Only (No navigation back to Course)         | holeNo must be passed in initialContext, see below for more details |
| `groupdetail`       | Groups List & Group Detail                       |                                                                     |
| `groups`            | Group Only                                       |                                                                     |
| `minileaderboard`   | Mini Leaderboard with 7 top players              | No global navigation                                                |

### Full Event Centre:

Render the complete Golf Event Centre interface with all available features enabled.

| Features         | Available |
| ---------------- | --------- |
| Top Nav          | ✅         |
| Navigation       | ✅         |
| Favourites       | ✅         |
| Search           | ✅         |
| Streaming button | ✅         |

```
<script src="https://unpkg.com/@img-arena/front-row-seat"></script>
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "full",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    targetModule: "full",
    language: "en",
    options: {
      videoPlaybackEnabled: true,
    },
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/BaEqVWa>" %}

### **Leaderboard - Detailed:**

Removes the top navigation bar and disables the streaming button component.

| Features         | Available |
| ---------------- | --------- |
| Top Nav          | ❌         |
| Navigation       | ✅         |
| Favourites       | ✅         |
| Search           | ✅         |
| Streaming Button | ❌         |

```
<script src="https://unpkg.com/@img-arena/front-row-seat"></script>
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "leaderboarddetail",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    language: "en"
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/oNOayam>" %}

### Leaderboard - No detail:

Deactivates top navigation and streaming button components. Navigation is locked to the current view context.

| Features         | Available |
| ---------------- | --------- |
| Top Nav          | ❌         |
| Navigation       | ❌         |
| Favourites       | ✅         |
| Search           | ✅         |
| Streaming Button | ❌         |

```
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "leaderboard",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    language: "en"
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/eYoPKbV>" %}

### Groups View

Enables group-level initialization of the Event Centre, supporting dynamic linking to 2-Ball and 3-Ball market components.

| Features             |   |
| -------------------- | - |
| Top Nav              | ✅ |
| Navigation           | ✅ |
| Favourites           | ✅ |
| Search               | ✅ |
| Streaming button     | ✅ |
| Targetted Group View | ✅ |

```
<script src="https://unpkg.com/@img-arena/front-row-seat"></script>
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "groupdetail",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    language: "en",
    // options: {
    //   videoPlaybackEnabled: true,
    //   holeNavOnly: true
    // },
    initialContext: {
    //Specific Group
          view: "group-detail-hole",
          // roundNo: "1",
          groupId: "901532"
    }
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/gOyBKqp>" %}

### Hole View:

Enables hole-level initialization of the Event Centre, supporting modular integration with 2-Ball, 3-Ball, and Player Market components. This configuration is suited for highlighting Par 3 holes with dedicated streaming feeds.

| Features            |   |
| ------------------- | - |
| Top Nav             | ✅ |
| Navigation          | ✅ |
| Favourites          | ✅ |
| Search              | ✅ |
| Streaming button    | ✅ |
| Targetted Hole View | ✅ |

```
<script src="https://unpkg.com/@img-arena/front-row-seat"></script>
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "hole",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    language: "en",
    // options: {
    //   videoPlaybackEnabled: true,
    //   holeNavOnly: true
    // },
    initialContext: {
    //Specific Group
          view: "course-detail-hole",
          holeNo: "5"
    }
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/mdgzKYy>" %}

### **Mini Leaderboard:**

| Features         |   |
| ---------------- | - |
| Top Nav          | ❌ |
| Navigation       | ❌ |
| Favourites       | ❌ |
| Search           | ❌ |
| Streaming button | ❌ |

```
<script src="https://unpkg.com/@img-arena/front-row-seat"></script>
<script>
  const {
    MessageTopics
  } = frontRowSeat.eventCentreUtils;
  const eventCentreInstance = frontRowSeat.eventCentre({
    operator: "img",
    // theme: "default-preview",
    // env: "sims",
    sport: "golf",
    targetModule: "minileaderboard",
    eventId: "821",
    version: "latest",
    targetElementSelector: "#img-arena-event-centre",
    language: "en"
    // options: {
    //   videoPlaybackEnabled: true,
    //   holeNavOnly: true
    // },
    // initialContext: {
    //   view: "leaderboard"
    // }
  });
</script>
```

{% embed url="<https://codepen.io/Waqas-Jadoon/pen/oNOayea>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/golf-integration/golf-ec-deep-linking/sandbox-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
