AEP - How to use Login ID or ECID as primary identity?
I have a query related to one of the use cases in AEP as I am new to AEP.
For an ecommerce website that has a login functionality, I have the userID that gets stored in data layer as soon as user logs in. I want to send data to both Adobe Analytics and AEP(as it would be beneficial at a later stage for CJA).
Can you please let me know what would be the best practice while creating schema and identity? Should I add userID as primary identity or use ECID? If I choose userID as primary identity, what happens with the web interactions that were done prior to login (say product page/ home page view before user logs in where userID wont be available). Will the hits get discarded as there is no primary identity?
I was hoping to get an answer from you. Thanks in advance!