• Dynatrace Recorder



When commenting JavaScript used in a Custom action in the Dynatrace Recorder, do not begin the comment with double slashes ( // ).

When a Dynatrace Recorder script is run, any custom JavaScript will be interpreted as one line. If you use // to begin a comment, all code following that comment will be parsed as part of the comment.

The correct style for commenting code for the Dynatrace Recorder is:


This comment style closes the comment, so the code following it is parsed correctly.




  • No labels