Welcome to Shopify Community. My name is Olivia and I work here.
I'd love to help you out with your question today. You haven't specified what tracking code you are trying to add to your site. For example, we have built-in integrations for you to insert Facebook Pixels, or even Google Analytics, into your site.
Depending on your tracking needs, you might even want to insert your tracking code directly into the code of your website's theme with these steps:
Log into your Admin
Head to Online Store > Themes > Actions
From there find Edit Code
Mode tracking codes will usually be placed in between header tags found in the theme.liquid
Don't forget to hit Save
If you're looking for something other than this don't hesitate to reach back out and let me know.
I look forward to your reply,
Olivia | Social Care @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog