Please follow the below steps to add the script to your website:
1. Log into your Shopify Store Administration account at http://www.shopify.com/login/
2. Click on "Themes" in the menu on the left.
3. Click on Template Editor
4. Click on "theme" under layouts
6. Click Save.
We also highly recommend you importing your Shopify web shop into Facebook using StoreYa.com