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

# Add identifier

By default, Trakg uses the `name`, `id`, or `placeholder` attribute of an `<input>` field to label data on your dashboard.

If none of these are present, Trakg will generate a random identifier, which may lead to messy or unclear data labels.

***

### ✅ Best Practice

To ensure clean and readable analytics:

* Always add a meaningful `name` attribute to your inputs.
* If `name` is missing, provide an `id` or a user-friendly `placeholder`.
* Avoid leaving input fields without any identifying attribute.

***

### 📌 Example

```html theme={null}
<!-- Good -->
<input type="email" name="user_email" placeholder="Email Address" />

<!-- OK -->
<input type="email" id="user-email" />

<!-- Not Recommended (Trakg will auto-generate a label) -->
<input type="email" />
```

⚠️ Without a proper identifier, fields may appear as random codes in your dashboard. Use `name`, `id`, or `placeholder` to keep things organized.
