In Odoo we can use some lead generation rules to convert visitors to our website into leads. We can extract information about the visitors of our website based on their IP addresses.
To create these rules first activate 'Visit to lead Rules ' from CRM configuration - settings. Buy enough credits and create a new rule by providing the proper conditions to convert website visitors to leads/opportunities.