How can I analyze LTV based on different inflow sources?

I am interested in a detailed analysis of LTV by inflow channel.

Is there a way to analyze LTV by the source of inflow, such as via organic search, Google ads, Facebook ads, etc.?

If possible, I am also interested in the number and amount of sales by the source of inflow for each product.

What do you mean by inflow? First touch point?

Exactly.