# React native collect report data: trackScreen, trackOutlink

**URL:** <https://community.piwik.pro/t/react-native-collect-report-data-trackscreen-trackoutlink/3272>\
**Category:** Data collection and tags\
**Created:** [November 21, 2023, 8:48am UTC](https://community.piwik.pro/t/react-native-collect-report-data-trackscreen-trackoutlink/3272 "2023-11-21T08:48:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilal.tekin](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bilal.tekin](https://community.piwik.pro/u/bilal.tekin)\
**Post date:** [November 21, 2023, 8:48am UTC](https://community.piwik.pro/t/react-native-collect-report-data-trackscreen-trackoutlink/3272/1 "2023-11-21T08:48:44Z")

</div>

I am using React Native: 0.70.0  
I am collecting the report data, for example, track screen, track outlink, etc. but I can not see them in the piwik dashboard. I think, the sdk is not working correctly because I am doing the same things in the documentation but the collected data is not visible in the dashboard. My code is:

const trackScreen = async (path, title, customDimensions = {}) =\> {  
const options = {  
title: title,  
customDimensions: customDimensions,  
};  
await PiwikProSdk.trackScreen(path, options);  
};

const trackOutlink = async (url, customDimensions = {}) =\> {  
const options = {  
customDimensions: customDimensions,  
};  
await PiwikProSdk.trackOutlink(url, options);  
};

AnaliticsHelpers.trackOutlink(item?.link)

AnaliticsHelpers.trackScreen(  
ANALYTICS\_PATHS.home,  
ANALYTICS\_SCREENS.Home,  
);

Do you have any solution?

---

<div class="post-metadata">

**Author:** ![Oliwer\_Kaczmarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/oliwer_kaczmarek/32/3888_2.png) [@Oliwer\_Kaczmarek](https://community.piwik.pro/u/Oliwer_Kaczmarek)\
**Post date:** [November 21, 2023, 2:26pm UTC](https://community.piwik.pro/t/react-native-collect-report-data-trackscreen-trackoutlink/3272/2 "2023-11-21T14:26:51Z")

</div>

Hi @bilal.tekin,

What is the URL address you are sending those events to?

Best,  
Oliwer

---

<div class="post-metadata">

**Author:** ![bilal.tekin](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bilal.tekin](https://community.piwik.pro/u/bilal.tekin)\
**Post date:** [November 22, 2023, 6:19am UTC](https://community.piwik.pro/t/react-native-collect-report-data-trackscreen-trackoutlink/3272/3 "2023-11-22T06:19:27Z")

</div>

Hi @Oliwer_Kaczmarek  
I found our mistake and it is now working. Thank you very much for the answer.
