Set User ID
1 min
you can associate a unique user identifier with appstorys to enable accurate user level tracking, personalization, and campaign targeting this is useful when the user id is not available at sdk initialization time and becomes available later (for example, after login or signup) to set a user id appstorys setuserid('your user id') notes if the user id is available initially, you can skip calling this method once the user id is obtained, call setuserid to update it calling setuserid again will overwrite the previously set user id all future events, impressions, and campaign interactions will be associated with the updated user id