> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Identify()

> Tie Encore's attribution to your own stable player ID, with optional attributes.

Sets the player's identity. A claim is traced back to this player through it.

## Signature

```csharp theme={null}
public static void Identify(string userId, UserAttributes attributes = null)
```

## Parameters

| Name | Type | Default | Description |
| - | - | - | - |
| `userId` | `string` | required | Your stable player ID, for example after sign-in |
| `attributes` | [`UserAttributes`](https://docs.encorekit.com/publishers/unity/sdk-reference/user-attributes) | `null` | Attributes that help Encore pick offers |

## Example

```csharp theme={null}
Encore.Identify(playerId, new UserAttributes { CountryCode = "US" });
```

## Notes

* Throws `ArgumentException` when `userId` is null or empty.
* A call before [`Configure()`](https://docs.encorekit.com/publishers/unity/sdk-reference/configure) is ignored.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.