Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello
Where do I add the code to show the tracking code on every page.
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:
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
Does that add it to every page?
Thanks for joining our thread, @bbbbbb.
Yes, this will add tracking to every page across your theme.
Warm regards,
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
I want to add a code to track my viewer's ip address on website. Where should I add the code?
Thanks for joining our thread, @SamratNandi86.
Shopify is unable to support with obtaining and presenting this data and I believe Google Analytics also refrains from sharing this information due to privacy. With that being said, you are welcome to read more about the topic and peruse your options at this Google support link.
Warm regards,
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