Last active
March 17, 2021 01:22
-
-
Save emeraldsanto/02c5f0d111c826283d2aedfd21bbb1ce to your computer and use it in GitHub Desktop.
Segment proxy usage (React Native)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { instance } from './analytics'; | |
| // These events will be sent to your server instead of Segment's | |
| instance.identify('some-user-id', { customProperty: 'custom value' }); | |
| instance.track('Custom Event', { userId: 'some-user-id' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment