Stape app uses data that is available in Shopify pixel api, you can find documentation on it here:
Item id, sku & variant id are only available in one variation per item in it.
So in your case you need to either change the IDs you have in merchant centre integration or have your own custom data layer with id you needed.