I need Magento's visitor_id to save some data against visitors come to my Magento store.
But I found in some instances
$session[visitor_data] array is empty. But I can see frontend cookie is created.
- Have anyone came across this situation?
- How do I populate visitor id, if its not available?
- If this is not possible what would be the best way to uniquely identify a visitor?