# Survey

To track an event using the survey package, you can use the corresponding method on the tracker instance. For example:

## Example

{% tabs %}
{% tab title="Android" %}

```kotlin
val properties = SurveyCsatProperties(
    conversationId = conversationId
)
bird.tracker.survey.csat(properties)
```

{% endtab %}

{% tab title="Swift" %}

```swift
let properties = SurveyCsatProperties(
    conversationId: conversationId
)
bird.tracker.survey.csat(properties)
```

{% endtab %}

{% tab title="Web" %}

```javascript
const properties: SurveyCsatProperties = {
    conversation_id: conversation_id
};
Bird.tracker.survey.csat(properties, event_opts);
```

{% endtab %}
{% endtabs %}

## Methods

### csat()

{% tabs %}
{% tab title="Android" %}

```kotlin
val properties = SurveyCsatProperties(
    conversationId = conversationId
)
bird.tracker.survey.csat(properties)
```

{% endtab %}

{% tab title="Swift" %}

```swift
let properties = SurveyCsatProperties(
    conversationId: conversationId
)
bird.tracker.survey.csat(properties)
```

{% endtab %}

{% tab title="Web" %}

```javascript
const properties: SurveyCsatProperties = {
    conversation_id: conversation_id
};
Bird.tracker.survey.csat(properties, event_opts);
```

{% endtab %}
{% endtabs %}

#### SurveyCsatProperties

| Property          | Type   |
| ----------------- | ------ |
| conversation\_id? | String |
| event\_name?      | String |
| rating?           | Number |
