Register leads/ contacts to different lists

Register leads/ contacts to different lists

Good day!

I need to send leads/contacts to different lists depending on what product leads/contacts are comming from.

Leads/contacts from different product pages need to be added to different lists of contacts. How can I do this?