Hey @supratim_sarkar
The two approaches you have mentioned both are using Web SDK ? If yes, then both would use a datastream, first one using only one service that is AEP.
In second scenario, I am assuming you would be using datastream (since you mentioned web sdk) to send data to Analytics and then use a batch connector to send data to AEP ? The second approach would be redundant to be honest. If you do use web sdk, the ideal scenario would be sending data to both AEP and Analytics.
Another option you have which I think you didn’t mention is using a batch connector from Adobe analytics without web SDK. This is, in most cases, an interim solution till you move to web SDK implementation. The pro of this approach is that your existing analytics setup would work as is and you don’t need to do any data layer or Launch related changes. All the changes would happen within AEP. The disadvantage/con of this approach is that since it is a batch connector, you do not have access to real time use cases. That is why, this is more of an interim solution till you make a move to web SDK implementation. Once you do implement web SDK, I would suggest sending data to both AEP and AA through a datastream.
Hope the above helps you in deciding upon an approach.
Cheers,
Abhinav