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. Client wants to show 2 different types of content based on cookie usage - potential cloaking issue?

    Client wants to show 2 different types of content based on cookie usage - potential cloaking issue?

    Intermediate & Advanced SEO
    5 3 619
    • 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.
    • steviephil
      steviephil last edited by

      Hi,

      A client of mine has compliance issues in their industry and has to show two different types of content to visitors:

      • domain.com/customer-a/about-us
      • domain.com/customer-b/about-us

      Next year, they have to increase that to three different types of customer. Rather than creating a third section (customer-c), because it's very similar to one of the types of customers already (customer-b), their web development agency is suggesting changing the content based on cookies, so if a user has indentified themselves as customer-b, they'll be shown /customer-b/, but if they've identified themselves as customer-c, they'll see a different version of /customer-b/ - in other words, the URL won't change, but the content on the page will change, based on their cookie selection.

      I'm uneasy about this from an SEO POV because:

      1. Google will only be able to see one version (/customer-b/ presumably), so it might miss out on indexing valuable /customer-c/ content,
      2. It makes sense to separate them into three URL paths so that Google can index them all,
      3. It feels like a form of cloaking - i.e. Google only sees one version, when two versions are actually available.

      I've done some research but everything I'm seeing is saying that it's fine, that it's not a form of cloaking. I can't find any examples specific to this situation though. Any input/advice would be appreciated.

      Note: The content isn't shown differently based on geography - i.e. these three customers would be within one country (e.g. the UK), which means that hreflang/geo-targeting won't be a workaround unfortunately.

      1 Reply Last reply Reply Quote 0
      • rjonesx. 0
        rjonesx. 0 last edited by

        I think this sounds perfectly fine. It is highly unlikely that you will see any problems from this, just don't expect to rank for content that is hidden behind a cookie-based authentication. It might not be best-practice in Google's eyes, but it isn't going to trigger any kind of penalty.

        steviephil 1 Reply Last reply Reply Quote 1
        • Mobilio
          Mobilio last edited by

          You can return same page with different content based on cookie safe. Just don't forget to add "Vary: Cookie" in headers. This will to told browsers and bots that this content is different based on cookie.

          steviephil 1 Reply Last reply Reply Quote 1
          • steviephil
            steviephil @rjonesx. 0 last edited by

            Thanks Russ. I think the differences to the content between the two will only be minor/superficial, so I guess the approach makes sense and shouldn't affect the SEO side of things too much.

            1 Reply Last reply Reply Quote 0
            • steviephil
              steviephil @Mobilio last edited by

              Thanks Peter - I didn't know you could do that. I'll pass it on to the developers (who might already know, but wouldn't hurt to reinforce its importance).

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Different content on different mobile browsers
                Matthew_Edgar
                Matthew_Edgar
                0
                2
                76

              • Showing Different Content To Members & Non-Members/Google and Cloaking Risk
                MarieHaynes
                MarieHaynes
                0
                7
                277

              • Base copy on 1 page, then adding a bit more for another page - potential duplicate content. What to do?
                Linda-Vassily
                Linda-Vassily
                0
                5
                124

              • Potential Pagination Issue/ Duplicate content issue
                PeteC12
                PeteC12
                0
                4
                79

              • 2-websites focused on different markets but similar content
                BBuck
                BBuck
                0
                5
                242

              • NOINDEX content still showing in SERPS after 2 months
                NormanNewsome
                NormanNewsome
                0
                9
                843

              • Serving different content based on IP location
                Dr-Pete
                Dr-Pete
                0
                3
                1.9k

              • SEO issues with IP based content delivery
                MarketingOfAmerica
                MarketingOfAmerica
                2
                17
                12.1k

              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