When user subscribes for newletter but we want to pass more infornamtion about user journey on website. Like pages visited and search query, just want to know anyone has any experience with this? Because of Visitor Group I thought these kind of data should be available somewhere.
It's up to you to decide what kind of data you want to track and how to store it. There are a lot of addons available, take a look at:
But my question is if I want to access these kind of information, is there any API which I can use?