Hi Rudderstack support team. I have some question ...
# support
b
Hi Rudderstack support team. I have some question regrading identify, if i use identify in my website - after visitor submit a form • Will the user data (name, email, phone, etc) will be passed along when i use "track" or "page" event? • When the same user comeback again to my website using the same browser - without clearing it's cookies - do I need to identify again? or i can just check the cookies to make sure wether I need to call identify again or not?
We're still in development stage, so it's not that urgent.
h
@big-cat-82077,
Will the user data (name, email, phone, etc) will be passed along when i use "track" or "page" event?
Yes user data will be passed down to subsequent calls under context.traits object.
When the same user comeback again to my website using the same browser - without clearing it's cookies - do I need to identify again? or i can just check the cookies to make sure wether I need to call identify again or not?
You do not need to call identify, fetch the userId using the API
rudderanalytics.getUserId()
available in JS SDK. Then use it as per your logic.
āœ… 1
b
thanks a lot @high-zoo-17436 šŸ™