How to configure to show customer ID in AXA
search cancel

How to configure to show customer ID in AXA

book

Article ID: 264926

calendar_today

Updated On:

Products

CA App Experience Analytics

Issue/Introduction

I already have an application arriving at AXA. But the customer ID is not showing when I go to app session. What do I have to do to see the customer ID?
How can I get the cookie name? Is it possible through the apm traces?

Environment

Release : 22.1/Any supported AXA release 

Resolution

No, we don't create UserID cookie from the trace. An Enhancement Request can be raised though.

And we only read Cookie specified in "introscope.agent.decorator.userid.cookie.name", not writing.

Here is the doc for the property:

Browser Agent Advanced Configuration

When the introscope.agent.decorator.userid.cookie.name is set in the IntroscopeAgent.profile, the Java agent reads the user ID value from the cookie.

Browser Agent Properties

 

When you set a cookie name for introscope.agent.decorator.userid.cookie.name, and a cookie with that name has a value, the value displays in both the Java agent and Browser Agent transaction traces.

For example: 

introscope.agent.decorator.userid.cookie.name=TestAppUserID. 

The cookie that is named TestAppUserID has a value of 123 presented in a web page. The agent collects a transaction trace and an End User takes an action on the web page. Both the Java agent and Browser Agent Trace View transaction traces display 123 as the User ID.

 

To summarize:

- Property "introscope.agent.decorator.userid.cookie.name" specified UserID Cookie to be used by APM Java Agent (Browser Agent Extension).

- BAExt.js example code shows how to read User ID from a Cookie and pass to AXA. (attached to KB)



Even with customer/user id set on cookie, we cant get the customer/user id for webapps. So will have to use the extension for this show user/customer id on session details.

Customer can download the sample extension from axa webaps and update the extension.

 

Please follow the below techdoc to show the user/customer ID.

How Do I Get a userID to Show in App Experience Analytics?

 

Attachments

BAExt-custom_SetUserNameFromCookie_1682642810947.js get_app