---
title: ".NET MAUI SDK: Custom data"
description: "Attach custom data to customer feedback with the Gleap .NET MAUI SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/649-net-maui-sdk-custom-data
collection: ".NET MAUI (Beta)"
updated: 2026-11-01
language: en
---

# .NET MAUI SDK: Custom data

Attach custom data to customer feedback with the Gleap .NET MAUI 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

- [.NET MAUI SDK setup](https://docs.gleap.ai/en/articles/640-net-maui-sdk-setup.md)
- [.NET MAUI SDK: User identity](https://docs.gleap.ai/en/articles/641-net-maui-sdk-user-identity.md)
- [.NET MAUI SDK: Track events](https://docs.gleap.ai/en/articles/642-net-maui-sdk-track-events.md)
- [.NET MAUI SDK: Track pages](https://docs.gleap.ai/en/articles/643-net-maui-sdk-track-pages.md)
- [.NET MAUI SDK: Forms](https://docs.gleap.ai/en/articles/644-net-maui-sdk-forms.md)
