hilytics v0.2.41
Getting Started with Hilytics! (for react-native)
We as a company Hilix aim for an incredible and super simple user experience, including developer experience. Therefore, to start using our client for tracking down most of the basic (and profound) needs of your app out of the box, just include our container instead of the NavigationContainer from react-native
To achieve this, after you created an API Key in our website, just replace your <NavigationContainer>...</NavigationContainer>
component for:
render() {
// ... all of your awesome code
return (
<Hilytics apiKey={YOUR_API_KEY}>
{/* more code */}
</Hilytics>
)
}
In addition, you can currently add two observable properties for the container, which will change value every time it changes on your app.
This two are the userEmail
and the isPaid
property. This is because they are way too application specific for us to infer, so you'd need to provide them yourselves, as follows:
render() {
// This as an example, or any persistence layer that you have...
const [userEmail, setUserEmail] = useState('')
const [isPaid, setIsPaid] = useState(false)
handleOnAuthOkClick = (e) => setUserEmail(e.target.value)
handleOnUserSubscribed = () => setIsPaid(true)
// ... all of your awesome code
return (
<Hilytics apiKey={YOUR_API_KEY} userEmail={userEmail} isPaid={isPaid}>
{/* more code */}
</Hilytics>
)
}
And that should be done! Enjoy the best experience for tracking users to your app. Made with <3 by Hilix team.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago