@itly/plugin-snowplow-react-native
v2.4.0
Published
Snowplow React Native Plugin for Iteratively SDK
Downloads
3,360
Readme
Snowplow React Native Plugin for Iteratively SDK
Installation
yarn add @snowplow/react-native-tracker
Snowplow Iteratively plugin
yarn add @itly/plugin-snowplow-react-native
Initialization
import SnowplowPlugin from '@itly/plugin-snowplow-react-native';
itly.load({
...
plugins: [
...
new SnowplowPlugin(
'my-vendor',
{
endpoint: 'my-endpoint',
namespace: 'my-namespace',
appId: 'my-appid',
},
),
],
...
});
Linking
If you are using an older version of React Native that doesn't support auto-linking you may need to follow additional setup steps.
Read full setup instructions for Snowplow SDK for more information.