How to Add Collection Snippet Script
1. Visit your Shopify Dashboard and click Online Store on the left-hand side nav panel.
2. Click Themes under Online Store, and then click on Actions and then Edit code.
3. Click theme.liquid file under Layout.
4. Add your Smart Recognition script code above <head> in the code. Click the Save button in the top right.
Note: If you only want to add the collection script to your Cart, you can choose cart.liquid instead of the theme.liquid file.