Data Collected on React Native
Last updated
Last updated
By installing the Freshpaint React Native SDK, Freshpaint will instrument your app and collect the following events automatically:
Touches
Text Edits
Switch Toggles
Screen Views
For all events we collect the following properties:
The Freshpaint SDK provides two components to prevent the collection of sensitive information. First, there's the Freshpaint.Ignore
component. Any interactions with a component contained within Freshpaint.Ignore
will not be tracked. For example if you have a component like:
Freshpaint will not automatically track clicks on the button. We also provide a component Freshpaint.IgnoreTargetText
. Freshpaint.IgnoreTargetText
works similarly to Freshpaint.Ignore
. When a component is contained within Freshpaint.IgnoreTargetText
Freshpaint collect interactions of collect the target text for any component wrapped with the component, but Freshpaint will not collect the target text of the component.
Freshpaint will still collect properties of elements contained inside of Freshpaint.IgnoreTargetText
. For example, the title of a button wrapped inside of Freshpaint.IgnoreTargetText
will still be captured.
For the following components, we automatically collect the listed properties by default:
editButton.name
editButton.type
icon.name
icon.type
showEditButton
title
danger
info
primary
status
success
value
warning
Button
active
badge
block
bordered
danger
dark
disabled
full
icon.name
icon.type
iconLeft
iconRight
info
large
light
loading
primary
rounded
small
success
transparent
type
vertical
warning
featuredSubtitle
featuredTitle
title
transparent
bordered
first
footer
header
last
checked
checkedTitle
color
disabled
iconRight
iconType
ion.name
icon.type
loading
title
type
DeckSwiper
looping
position
hasSegment
hasSubtitle
hasTabs
searchBar
transparent
name
type
errorMessage
label
placeholder
rightSubtitle
rightTitle
subtitle
title
headerBackButtonText
placeholder
button.title
price
title
heading
count
placeholder
platform
button
title
type
caption
feature
icon.name
icon.title
title
Property
Description
elements
The React component hierarchy the action was performed on. This includes a whitelist of properties passed to React components. See below for the whitelist.
language
The language the device is in.
os
The operating system of the device.
user_agent
The user agent of the device.
target_text
The text of the element that was clicked on.
timestamp
The time the event occurred at.