---
title: "Windows Desktop SDK: Custom data"
description: "Attach custom data to customer feedback with the Gleap Windows Desktop SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/625-windows-desktop-sdk-custom-data
collection: "Windows Desktop (Beta)"
updated: 2026-11-01
language: en
---

# Windows Desktop SDK: Custom data

Attach custom data to customer feedback with the Gleap Windows Desktop SDK. Follow the integration code examples.

## Add custom data

In many situations you may want to attach custom data to feedback items in order to better understand the context. You can add custom data incrementally or all at once. Any simple JSON object can be attached.

```csharp
Gleap.AttachCustomData(new Dictionary<string, object> { ["user"] = "Franzi" });
```

If you want to attach custom data incrementally, you can do so with the `SetCustomData` method.

```csharp
Gleap.SetCustomData("value", "Franzi");
```

## Remove custom data

Remove custom data key/value pairs by calling the following method.

```csharp
Gleap.RemoveCustomDataForKey("value");
```

## Clear all custom data

It's possible to clear all attached custom data by calling the following method.

```csharp
Gleap.ClearCustomData();
```

## Related

- [Windows Desktop SDK setup](https://docs.gleap.ai/en/articles/616-windows-desktop-sdk-setup.md)
- [Windows Desktop SDK: User identity](https://docs.gleap.ai/en/articles/617-windows-desktop-sdk-user-identity.md)
- [Windows Desktop SDK: Track events](https://docs.gleap.ai/en/articles/618-windows-desktop-sdk-track-events.md)
- [Windows Desktop SDK: Track pages](https://docs.gleap.ai/en/articles/619-windows-desktop-sdk-track-pages.md)
- [Windows Desktop SDK: Forms](https://docs.gleap.ai/en/articles/620-windows-desktop-sdk-forms.md)
