# How add user info into Transaction?

**URL:** <https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474>\
**Category:** APM\
**Tags:** php\
**Created:** [October 19, 2020, 5:49am UTC](https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474 "2020-10-19T05:49:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GHostlyFOX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghostlyfox/32/77310_2.png) [@GHostlyFOX](https://discuss.elastic.co/u/GHostlyFOX)\
**Post date:** [October 19, 2020, 5:49am UTC](https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474/1 "2020-10-19T05:49:45Z")

</div>

How add user info into Transaction?

 ![img-2020-10-19-11-49-07](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4ac0aa9f6eb1b89404a30309a7b249532c1e8a32.png)

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [October 20, 2020, 5:33am UTC](https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474/2 "2020-10-20T05:33:27Z")

</div>

PHP Agent doesn't support capturing user information yet so I've created two issues: [#238 - Add public API to set user information](https://github.com/elastic/apm-agent-php/issues/238) and [#239 - Automatically captured transactions should include user information](https://github.com/elastic/apm-agent-php/issues/239).

Effort to add public API to allow application developer to add user information "manually" is much smaller than implementing agent's capability to discover user information automatically so the first issue will be resolved much sooner than the second one. Will having public API to manually set user information work for your use case?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 10, 2020, 1:33am UTC](https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474/3 "2020-11-10T01:33:36Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
