JavaScript Diagnostics for SAP Commerce Cloud
What the JS Profiler Analyzes
Configure Profiling
Troubleshooting
Configure Browser-Side JavaScript Diagnostics for SAP Commerce Cloud
Use the GermainUX JS Profiler to collect advanced browser-side diagnostic information from supported SAP Commerce Cloud web applications. This capability helps investigate JavaScript errors, browser freezes, long-running operations, slow user interactions, and network problems affecting SAP Commerce Cloud users. It does not debug or profile ABAP code.Prerequisites
Before enabling browser-side diagnostics:Supported SAP Interfaces
For other browser-based SAP applications (such as SAP Fiori, SAPUI5, and SAP Web GUI), the JS Profiler can analyze browser-side activity in compatible:- SAP Fiori applications
- SAPUI5 applications
- SAP Web GUI
- Custom SAP web applications
- Browser-based SAP portals
What the JS Profiler Analyzes
The JS Profiler can collect supported information about:- JavaScript execution
- Function and call-stack activity
- Long-running browser operations
- Browser freezes
- Client-side errors
- Network requests
- Resource activity
- Browser-side SAPUI5 behavior
- Third-party JavaScript
What It Does Not Analyze
The JS Profiler does not directly analyze:- ABAP execution
- ABAP classes, methods, or function modules
- SAP application-server call stacks
- Database statements executed by ABAP
- SAP background jobs
- Native SAP GUI code
- Server-side integrations
.png?fit=max&auto=format&n=Jw6D65yKWJ4U5yOS&q=85&s=e80ca3e3258d0bd72cc86e7b0f377532)
Browser-side JavaScript diagnostics for SAP Commerce Cloud - GermainUX
Enable JavaScript Profiling
In the left menu, go to Settings > Analytics > UX Monitoring Profiles.Steps
Select the SAP Commerce Cloud monitoring profile
Open the configuration editor
Select JavaScript Profiling Monitoring
Enable profiling
Select the profiling method supported by the environment
Restrict profiling to the required users or pages
Save the profile
Select a Profiling Method
JS Profiler Browser Extension
Use the supported GermainUX JS Profiler extension when browser-side profiling cannot be enabled directly through the application. Deploy the extension to:- Application support users
- QA users
- Developers
- Selected users reproducing a problem
- Controlled diagnostic workstations
JavaScript Self-Profiling API
Where supported, profiling can use the browser’s JavaScript Self-Profiling API. The monitored page must return:Target Profiling
Avoid enabling continuous profiling for every SAP Commerce Cloud user unless its overhead, volume, security, and privacy implications have been reviewed.Include Selected Users
Exclude Selected Users
Target Selected Applications
Restrict profiling by:- Application
- Environment
- Hostname
- URL
- SAP Commerce Cloud application
- User
- Diagnostic period
Configure Profiling
Available settings include:Reproduce an SAP Commerce Cloud Browser Problem
Enable profiling for the selected diagnostic user
Start a new browser session
Open the monitored SAP Commerce Cloud application
Perform only the actions required to reproduce the issue
Record the approximate reproduction time
Close the diagnostic session or disable profiling
Open the corresponding session in GermainUX
Review the browser and JavaScript telemetry
- Long-running JavaScript activity
- Function and call-stack samples
- Browser blocking
- Network wait time
- Failed requests
- JavaScript errors
- Browser freezes
- Resource loading
- The action immediately preceding the problem
Correlate with Other Telemetry
Where compatible identifiers and data are available, correlate browser diagnostics with:- RUM user actions
- Page and logical-view transitions
- Network requests
- HTTP endpoint monitoring
- SAP Commerce Cloud log events
- Supported database telemetry
- Synthetic-scenario failures
Privacy and Security
Configure:- User targeting
- Page exclusions
- URL sanitization
- Request-header exclusion
- Request- and response-body exclusion
- Sensitive-data masking
- Data retention
- Role-based access
- Passwords
- Authentication tokens
- Session cookies
- Authorization headers
- Sensitive business data
- Personal information that is not required for diagnostics
Validate the Configuration
Confirm that:- Profiling is enabled only for intended users.
- The extension or Self-Profiling API starts successfully.
- The SAP Commerce Cloud URL matches the monitoring profile.
- Profiling data appears in GermainUX.
- The data is associated with the correct user session.
- The reproduction period is included.
- Browser overhead remains acceptable.
- Sensitive data is not captured.
- Profiling stops when disabled.
Disable Profiling
When the investigation is complete:Open the SAP Commerce Cloud UX monitoring profile
Select JavaScript Profiling Monitoring
Disable profiling or remove the included users
Save the profile
Remove the extension or response header if it is no longer required
Confirm that new profiling data is no longer collected
Troubleshooting
No Profiler Data Appears
Verify:- Profiling is enabled.
- The user is included and not excluded.
- The SAP Commerce Cloud URL matches the profile.
- RUM JS loads successfully.
- The extension is installed and active.
- The browser supports the selected profiling method.
- The
Document-Policyheader is present when using self-profiling. - The browser can reach GermainUX.
- Privacy and consent rules permit collection.
The Browser Reports a Policy Violation
Confirm that the document response includes:Profiling Increases Browser Overhead
Reduce:- Profiling duration
- Number of targeted users
- Number of targeted pages
- Sample-buffer size
- Profiling frequency
ABAP Information Does Not Appear
This is expected. The JS Profiler collects browser-side JavaScript and network telemetry only.Related Documentation
Get Help
GermainUX can help determine which monitoring, analytics and automation capabilities are appropriate for your SAP Commerce Cloud environment.Contact GermainUX Support
Can't Find What You Need?
The content of this document is proprietary to GERMAIN SOFTWARE.

