# Moat on Web

Moat is an analytics service maintained by Oracle. THEOplayer offers a pre-integration for this solution.

## Configuration

Configure the Moat partner code on the player configuration.

```js
new THEOplayer.Player(containerElement, {
  libraryLocation: 'https://cdn.theoplayer.com/dash/theoplayer/',
  analytics: [
    {
      integration: 'moat',
      partnerCode: '<PARTNER_CODE>',
    },
  ],
});
```

When you want to make use of Moat for tracking advertisements, you should make use of the [`IMAAdDescription`](https://docs-preview.optiview.dolby.com/pr-863/theoplayer/v11/api-reference/web/interfaces/IMAAdDescription).
