# Struggling with documentation : how to send specific data and display it on the dashboard

**URL:** <https://community.dynatrace.com/t/struggling-with-documentation-how-to-send-specific-data-and-display-it-on-the-dashboard/34967>\
**Category:** Real User Monitoring\
**Tags:** user-actions, documentation\
**Created:** [April 27, 2022, 5:14pm UTC](https://community.dynatrace.com/t/struggling-with-documentation-how-to-send-specific-data-and-display-it-on-the-dashboard/34967 "2022-04-27T17:14:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenou](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Glenou](https://community.dynatrace.com/u/Glenou)\
**Post date:** [April 27, 2022, 5:14pm UTC](https://community.dynatrace.com/t/struggling-with-documentation-how-to-send-specific-data-and-display-it-on-the-dashboard/34967/1 "2022-04-27T17:14:28Z")

</div>

Hi,

As a third-party developer, I’m working for a client and I need to implement Dynatrace to the application we are building.

I’ve never heard of Dynatrace before and I’m struggling with the documentation.

We are already using [Matomo](https://matomo.org/) to track user actions and send specific data using events.

In Dynatrace, it seems to be different. With the documentation, I understand that we can use User Actions to track hitted buttons but :

- **How can we send specific data like an array (or a stringified array) of values ? And display it in the dashboard ?**
- **How can we send specific data like a key-value after a button was hitted ? And display it in the dashboard ?**

An example of what I send to Matomo for you to understand what I need :

```javascript
window._paq.push(['trackEvent', 'FirstResultClicked', 'Rank', 2);

```

_trackEvent_ : type of notification to Matomo

_FirstResultClicked_ : name of the notification

_Rank_ : key

_2_ : value

If you need more informations, feel free to ask me more !

Have a great day,

Glen.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [April 28, 2022, 7:50am UTC](https://community.dynatrace.com/t/struggling-with-documentation-how-to-send-specific-data-and-display-it-on-the-dashboard/34967/2 "2022-04-28T07:50:53Z")

</div>

Hey Glen,

I can think of a few ways to achieve this and which one would be the best to go with depends on what you actually want. A little bit more info though would be useful before giving any recommendations or ideas.

1. What are you using to develop the application? As in what kind of frameworks?  
2. How will users view it? Is it a web app, mobile app, does it have some sort of desktop client?  
3. Do you want the user actions to show up in user sessions to track the entire user experience or do you want to just log individual actions without user context and/or turn them into a metric?

---

<div class="post-metadata">

**Author:** ![theharithsa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theharithsa/32/16236_2.png) [@theharithsa](https://community.dynatrace.com/u/theharithsa)\
**Post date:** [May 3, 2022, 1:44am UTC](https://community.dynatrace.com/t/struggling-with-documentation-how-to-send-specific-data-and-display-it-on-the-dashboard/34967/3 "2022-05-03T01:44:54Z")

</div>

Hi&nbsp;[@Glenou](https://community.dynatrace.com/user/50387)&nbsp;  
Here I can understand your pain point. What I can suggest you with the given data here is,&nbsp;  
You are trying to build Dashboard in your application based on the data from Dynatrace.

First, to build a dasboard you need to get the data out from Dynatrace. For that you can use Dynatrace’s rest api.

Second, you are trying to get user session data out. In this case, you need to use RUM API that exists in Dynatrace to get the data.

What Dynatrace returns is in JSON format and you can write a logic to extract the required data from that captured JSOn after making API call.
