# Need to configure or record in custom db from which web page the user is interacting or the chat is escalated to live agent

**URL:** <https://community.yellow.ai/t/need-to-configure-or-record-in-custom-db-from-which-web-page-the-user-is-interacting-or-the-chat-is-escalated-to-live-agent/3872>\
**Category:** Channels\
**Tags:** web-widget\
**Created:** [March 10, 2023, 2:43pm UTC](https://community.yellow.ai/t/need-to-configure-or-record-in-custom-db-from-which-web-page-the-user-is-interacting-or-the-chat-is-escalated-to-live-agent/3872 "2023-03-10T14:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aadil\_Malla](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/aadil_malla/32/1027_2.png) [@Aadil\_Malla](https://community.yellow.ai/u/Aadil_Malla)\
**Post date:** [March 10, 2023, 2:43pm UTC](https://community.yellow.ai/t/need-to-configure-or-record-in-custom-db-from-which-web-page-the-user-is-interacting-or-the-chat-is-escalated-to-live-agent/3872/1 "2023-03-10T14:43:18Z")

</div>

I have a use case, can anyone Help:

Need to configure or record in custom db from which web page the user is interacting or the chat is escalated to live agent. There are multiple support sites of the client where the bot is hosted now we need to check from which webpage(support site) the customer interacted with bot and transferred chat to live agent.

I can see in events, there is one event named “page-url-based-trigger” will this help or do we have any other feature.

---

<div class="post-metadata">

**Author:** ![gautham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/gautham/32/1593_2.png) [@gautham](https://community.yellow.ai/u/gautham)\
**Post date:** [March 10, 2023, 2:45pm UTC](https://community.yellow.ai/t/need-to-configure-or-record-in-custom-db-from-which-web-page-the-user-is-interacting-or-the-chat-is-escalated-to-live-agent/3872/2 "2023-03-10T14:45:40Z")

</div>

In studio, you can use the variable node and set the url using {{pageUrl}}  
Then you can insert it into a db along with other details either before creation or after ticket resolution

---

<div class="post-metadata">

**Author:** ![Aadil\_Malla](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/aadil_malla/32/1027_2.png) [@Aadil\_Malla](https://community.yellow.ai/u/Aadil_Malla)\
**Post date:** [March 10, 2023, 2:47pm UTC](https://community.yellow.ai/t/need-to-configure-or-record-in-custom-db-from-which-web-page-the-user-is-interacting-or-the-chat-is-escalated-to-live-agent/3872/3 "2023-03-10T14:47:27Z")

</div>

Thank You so much, let me configure it.
