Deeplink betslip (OTT)

OTT betslip that opens sportsbook deeplinks on web.

Guide: Deeplinking

For OTT integrations, the user confirms stake in the SDK betslip; the SDK opens your sportsbook deeplink. Set mode: 'DEEPLINK' and do not provide onPlaceBet.

Deeplink URLs come from your odds feed and CMS — see Odds.

CDN (vanilla HTML + JavaScript)

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>emBET OTT deeplink</title>
  </head>
  <body>
    <embet-overlay customid="YOUR_EVENT_ID"></embet-overlay>

    <script src="https://unpkg.com/@livelike/[email protected]/embet.umd.min.js"></script>
    <script>
      (async () => {
        await embet.init({ clientId: "YOUR_CLIENT_ID" });

        embet.betSlipConfig({
          mode: "DEEPLINK",
          currency: "€",
          currencyDisplay: "prefix",
          decimalSign: ",",
          maxAmount: 1000,
        });
      })();
    </script>
  </body>
</html>

NPM + React

npm install @livelike/embet
import { useEffect } from "react";
import embet from "@livelike/embet";

const CLIENT_ID = "YOUR_CLIENT_ID";
const EVENT_ID = "YOUR_EVENT_ID";

export function EmbetOttPlayer() {
  useEffect(() => {
    (async () => {
      await embet.init({ clientId: CLIENT_ID });

      embet.betSlipConfig({
        mode: "DEEPLINK",
        currency: "€",
        currencyDisplay: "prefix",
        decimalSign: ",",
        maxAmount: 1000,
      });
    })();
  }, []);

  return <embet-overlay customid={EVENT_ID} />;
}