To add the tracking code to your Shopify store, log in to your Shopify account, go to "Online store," and select "Themes." Under "Actions," choose "Edit code," open the "theme.liquid" file, search for , paste the Meta tracking code (or CustomerLabs tracking code for enhanced capabilities) above this line, and save the changes.