Where do I add the code to show the tracking code on every page.

New Member
2 0 0



Where do I add the code to show the tracking code on every page. 

Reply 1 (1)
Shopify Staff
Shopify Staff
941 82 173

Hi, @pratiko!

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:


  1. Log into your Admin
  2. Head to Online Store > Themes > Actions 
  3. From there find Edit Code
  4. Mode tracking codes will usually be placed in between header tags found in the theme.liquid
  5. 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