The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How (or if) to apply re canonical tags to Shopify?

    How (or if) to apply re canonical tags to Shopify?

    Intermediate & Advanced SEO
    13 4 3.5k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • muzzmoz
      muzzmoz @DmitriiK last edited by

      Thanks Dmitrii,

      So will that one line of code fix the issue for ALL products and ALL collections?

      DmitriiK 1 Reply Last reply Reply Quote 0
      • muzzmoz
        muzzmoz @DmitriiK last edited by

        Are you familiar with Shopify?

        I have another issue where GA tracking code is not firing on the Thank_You page. I have double checked GA config with the GA implementation twice! But the problem seems to be with Shopify, since this page sites on their site (checkout.shopify.com) and they seem unable to fix it.

        DmitriiK 1 Reply Last reply Reply Quote 0
        • DmitriiK
          DmitriiK @muzzmoz last edited by

          Yes, it is supposed to. Try it, check it - it's pretty easy 🙂

          muzzmoz 1 Reply Last reply Reply Quote 0
          • DmitriiK
            DmitriiK @muzzmoz last edited by

            Yes, I am. Here is a link with answers to your troubles: https://help.shopify.com/manual/reports-and-analytics/google-analytics/google-analytics-goals-and-funnels

            muzzmoz 1 Reply Last reply Reply Quote 0
            • muzzmoz
              muzzmoz @DmitriiK last edited by

              I know how to check whether the code is there. But how do you check whether or not specific pages have been indexed by Google?

              As far as I can see Google Search Console only reports on the number of pages indexed, not which pages have been indexed. Is there any way to get an actual list of indexed pages?

              I know running a site: query will show up all the results, but I just want a list (eg CSV) of the URLs indexed.

              DmitriiK 1 Reply Last reply Reply Quote 0
              • muzzmoz
                muzzmoz @DmitriiK last edited by

                I don't believe this is the answer. I have several other clients on Shopify who do not have goals for macro conversions, but we are seeing conversion data in GA.

                Besides, I was always under the impression that if you have ecommerce enabled, it's better not to use goals for transactions as it might duplicate. Is this not the case?

                DmitriiK 1 Reply Last reply Reply Quote 0
                • DmitriiK
                  DmitriiK @muzzmoz last edited by

                  Well, if it automatically doesn't work, then you gotta do it manually, right 🙂

                  1 Reply Last reply Reply Quote 0
                  • DmitriiK
                    DmitriiK @muzzmoz last edited by

                    Use tools like SEO Frog

                    1 Reply Last reply Reply Quote 0
                    • jeffpape
                      jeffpape last edited by

                      How can I fix this problem with Shopify? Shopify does not seem like it is a problem. One of their solutions is to no index the other pages, but I want all the google juice and google love going to the main page.

                      Current Setup:

                      https://wrestlinggear.com/collections/wrestling-shoes rel canonical - https://wrestlinggear.com/collections/wrestling-shoes

                      https://wrestlinggear.com/collections/wrestling-shoes/accessory rel - https://wrestlinggear.com/collections/wrestling-shoes/accessory

                      https://wrestlinggear.com/collections/wrestling-shoes/adidas rel canonical - https://wrestlinggear.com/collections/wrestling-shoes/adidas

                      I want it like this:

                      https://wrestlinggear.com/collections/wrestling-shoes - rel canonical - https://wrestlinggear.com/collections/wrestling-shoes

                      https://wrestlinggear.com/collections/wrestling-shoes/accessory - rel canonical - https://wrestlinggear.com/collections/wrestling-shoes

                      https://wrestlinggear.com/collections/wrestling-shoes/adidas- rel canonical - https://wrestlinggear.com/collections/wrestling-shoes

                      Of course there are a lot more pages like this that I would like to rel cannoical back to the main collections pages.

                      1 Reply Last reply Reply Quote 0
                      • Insightful_Media
                        Insightful_Media @DmitriiK last edited by

                        Good answer!

                        I have a question! If I just wanna add one or two canoncial tags on specific page(s), how I can do it on shopify coding?

                        DmitriiK 1 Reply Last reply Reply Quote 0
                        • DmitriiK
                          DmitriiK @Insightful_Media last edited by

                          Howdy,

                          I assume that in your case it doesn't happen automatically. In this case you'll need to use an IF statements in the head/header file. Basically, it would be this:

                          IF current page url = url you want THEN display canonical tag with wanted url

                          Repeat that for all needed url and you are good.

                          If there are many of those, CASE might be better.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • Original Source Tag or Canonical Tag for News Publishers?
                            Carson-Ward
                            Carson-Ward
                            0
                            2
                            535

                          • Canonical Tags increased after putting the appropriate tag?
                            MattRoney
                            MattRoney
                            0
                            4
                            50

                          • Canonical Tag help
                            MattRoney
                            MattRoney
                            0
                            5
                            124

                          • Canonical URL Tag
                            MoosaHemani
                            MoosaHemani
                            0
                            5
                            86

                          • Canonical tag
                            KarlBantleman
                            KarlBantleman
                            0
                            11
                            315

                          • Scanning For Duplicate Canonical Tags
                            edmundsseo
                            edmundsseo
                            0
                            3
                            308

                          • Canonical Meta Tag
                            TheGrid
                            TheGrid
                            0
                            5
                            506

                          • Canonical Tag - Question
                            AlanMosley
                            AlanMosley
                            0
                            10
                            1.0k

                          Get started with Moz Pro!

                          Unlock the power of advanced SEO tools and data-driven insights.

                          Start my free trial
                          Products
                          • Moz Pro
                          • Moz Local
                          • Moz API
                          • Moz Data
                          • STAT
                          • Product Updates
                          Moz Solutions
                          • SMB Solutions
                          • Agency Solutions
                          • Enterprise Solutions
                          • Digital Marketers
                          Free SEO Tools
                          • Domain Authority Checker
                          • Link Explorer
                          • Keyword Explorer
                          • Competitive Research
                          • Brand Authority Checker
                          • Local Citation Checker
                          • MozBar Extension
                          • MozCast
                          Resources
                          • Blog
                          • SEO Learning Center
                          • Help Hub
                          • Beginner's Guide to SEO
                          • How-to Guides
                          • Moz Academy
                          • API Docs
                          About Moz
                          • About
                          • Team
                          • Careers
                          • Contact
                          Why Moz
                          • Case Studies
                          • Testimonials
                          Get Involved
                          • Become an Affiliate
                          • MozCon
                          • Webinars
                          • Practical Marketer Series
                          • MozPod
                          Connect with us

                          Contact the Help team

                          Join our newsletter
                          Moz logo
                          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy