Hi,
Customr would like to know more about JavaScript ADK. Looking at the doc online, it appears that an API has to be installed on the web server. This will make sure a set of dedicated functions will be available to developers.
First question : my understanding is that the developers will have to customize their web pages by adding calls to the desired functions in the web page source code. Isn't that right?
Second question: does anybody have the JavaScript ADK documentation where I can find the list of supported functions (and attach it to this thread), please?
Thanks you,
Daniele
Answer by Andreas G. ·
Got it. Well - good news then. If you download the JS ADK Package (as described in the doc page) - then you will find the full functional documentation and samples in that package. We will update the doc so that it is clear that this type of information is part of the JavaScript ADK. You can download the package from the regular product downloads: http://www.dynatrace.com/downloads
Let me know if that is what you are looking for
This download link doesn't work. Can you please update it?
In my case, since our web server is not in the support list, we need to do manually injection. Not sure if we need to do anything different.
Our apologies!
Sometimes redirection and our SSO mechanism don't work so well together. If you log in first – as you do to post here – and then try:
https://downloads.compuwareapm.com/downloads/download.aspx?p=DT
the JS ADK is at the bottom of the page. You can find documentation on manual injection here: JavaScript Agent
Once you've done manual injection, the instructions for using the JS ADK are the same as for automatic injection.
-- Graeme
Answer by Daniele D. ·
Hi,
of course I did it. Actually, that's been the first resource I found. However, they're looking for something like a programmer's guide where each method comes with description, an example of how to use it, constraints if any. The link above might help up to a certain point. I will see what I can do for them.
Thanks,
Daniele
Answer by Andreas G. ·
Have you checked the following page? JavaScript ADK and JavaScript Ajax ADK
It highlights all API methods that are relevant to create user actions or report data. Some examples
var actionName = dynaTrace.enterAction("My Action")
do something in your code
dynaTrace.leaveAction(actionName);
dynaTrace.reportError("your error message);
Let me know if this helps
Andi
Answer by Daniele D. ·
The documentation I found is not enough.
Do we have any documentation that clearly explains how to use the javascript functions provided by the JavaScript ADK API, please? Our Customer saw what comes with the package that is on our download page and would like to retrieve a PDF or some doc that explains how to use the functions rather than having to see the samples that come with the package itself.
Please, let me know. Thanks,
Daniele
Answer by Andreas G. ·
Developers simply need to load the dtapi.js file and then they can make calls to this api to e.g: create their own User Actions.
You can look at easyTravel. It also uses the ADK for e.g: capturing the Visitor Tag or capturing additional context information
Answer by Daniele D. ·
Hi, I was finally able to find the documentation. The only question I have is about how to use the JavaScript ADK. I guess, it's just a library and the developer must add calls to the functions that the API delivers.... right?
JANUARY 15, 3:00 PM GMT / 10:00 AM ET