Snowplow react native tracker
Snowplow tracker for react and react-native
Snowplow react native tracker works exactly like Snowplow Node.js Tracker because its the base of this package.
The documentation i will provide here will be limited however here you can find extended documentation
Installing
Using npm:
$ npm install snowplow-react-native-tracker --save
Initialization
var snowplow = ;var emitter = snowplowemitter;var tracker = snowplowtracker;First initialize an emitter instance This object will be responsible for how and when events are sent to Snowplow var e = ;
Initialise a tracker instance like this:
var t = ;
You can continue reading the extended documentation for more info.