> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/sdk-provider/eventos/emitextradata.md).

# emitExtraData

## Details

Emits the extraData associated with platform Tracking.

**Event:** `emitExtraData`

**Type:** `FacephiSdkProviderCustomEvent<string>` | `CustomEvent<string>`

### Syntax

```typescript
provider.addEventListener('emitExtraData', onEmitExtraData);
```

### Received object

```json
detail: string
```

## Description

Provides the value of extraData when it is available.

### Considerations

It is only emitted if Tracking is enabled in the License.

***

## Example

```jsx
<facephi-sdk-provider
    apikey={process.env.FACEPHI_SDK_APIKEY}
    onEmitExtraData={onEmitExtraData}
/>
```
