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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...