Tracking User Properties with Amplitude

PHOTO EMBED

Wed Feb 07 2024 18:24:40 GMT+0000 (Coordinated Universal Time)

Saved by @Gavslee

import { identify, Identify } from '@amplitude/analytics-react-native';

const identifyObj = new Identify();

//Set user properties
identify0bj.set('age', 25);
identify0bj.set('gender', 'female')

// Add user properties
identifyObj.add('level', 1);
identifyObj.add('points', 100);

//Send user properties to Amplitude
identify(identifyObj);
content_copyCOPY