1. Create a new script and select WooCommerce conversion snippet as snippet position. tab
2. Choose the product match value.
3. Select which products you want to include or exclude (depending by the chosen product match value)
4. Put your script code, if needed you can configure the dynamic conversion values, you can deepen from the following link.
Here a videotutorial that will help you to create a conversion snippet.