src
directory within your React project
APP-ID
is a unique id associated with your Castled workspace. It can be found in the Castled dashboard at Settings > Api Keys.SERVER-URL
is the cluster url where the events are initially send to. https://api.castled.io
is the default value of this url.useCastledAnalytics
method created in previous step for tracking user events.
identify
call.