Splunk AppDynamics

Add User Data - Event fired during ADRUM.report not on Virtual page creation.

CommunityUser
Splunk Employee
Splunk Employee

As per the documentation here it describes that The user Data for virtual page can be added when the virtual page is created  and the function  window['adrum-config'].userEventInfo.VPageView is triggered when the virtual page is created. However, the function seems to be firing when the method ADRUM.report is called. Also, the function utilizes the setTimeout with zero values which makes it difficult to use on synchronous actions. Could you please confirm the right behavior?

 

Add User Data

User data is added when certain events are triggered. You can choose to set user data for each or all of the following available events:

  • PageView - this event is triggered when the base page is loaded in the browser.
  • Ajax - this event is triggered when an Ajax call is made.
  • VPageView - this event is triggered when the virtual page is created. The virtual page is a dynamically recreated version of the base page."
Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

i had opened a support ticket for this issue.

Also, ADRUM.Report method calls the GetUser Data method with setTimeout with zero value which pushes the execution of the method to the next Event Loop which can be problematic in cases where we need to clear the UserData immediately after calling the ADRUM.Report method.

0 Karma

Mohammed_Rayan
Contributor

Abhinav,

Before we can confirm the correct behaviour on this, can you please share a HAR file captured from your instrumented page where you have added the user data stuff.

Regards,

Mohammed Rayan

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...