Facebook ad tracking for WooCommerce store with 100s of products

Hello…

We have a WooCommerce store.

All the products (hundreds of them) have the exact same thank you page.

We want to advertise the entire store (not individual products) via Facebook ads.

But how can we know which specific ad resulted in the sale of which specific products (along with the revenue and ROI)?

Thanks in advance!