---
title: deleteTrackingOptOut
slug: campaign/docs/deletetrackingoptout
createdAt: 2026-07-02T19:01:46.338Z
---

:::hint{type="info"}
**Note**
Opens and clicks in the recipient history from the time of activation to the reactivation are not restored and allocated to the recipient.
:::

**Type**: void

**Parameters**

| Name        | Type   | Value                                                                           |
| ----------- | ------ | ------------------------------------------------------------------------------- |
| sessionId   | String | ID of the session                                                               |
| recipientId | String | ID of the recipient for which the usage of action-based data shall be activated |

**Return values**

- **Code structure**

```javascript
void deleteTrackingOptOut(String sessionId, String recipientId)
```
