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. On-Page / Site Optimization
    4. Are Content in Inline Javascript and Collapsible Considered Cloaking to Google?

    Are Content in Inline Javascript and Collapsible Considered Cloaking to Google?

    On-Page / Site Optimization
    2 2 660
    • 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.
    • globalsources.com
      globalsources.com last edited by

      Hi,

      I would like to save space in my website and do not want my other products to be pushed down below the first fold.

      In order to do that, I have decided to add content inside inline javascript or using collapsible. For collapsible, I may be using "show/hide" button or "read more" button to show the whole content.

      So does content in Javascript and collapsible considered hiding from Google? If it is, then I have to think of other options. Thanks.

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

        So does content in Javascript and collapsible considered hiding from Google?

        No, that is fine.

        Cloaking is specifically showing different content to Google then you would to other users.

        Honest presentations of "read more" or not openly displaying content until a trigger button is pressed would be fine. Deceptively hiding content behind a button that would normally not be discovered or pressed would be an issue.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • Does javascript generated content consider as regular content?
          Expansyon
          Expansyon
          0
          2
          25

        • Content on product category pages - does Google care?
          Hurf
          Hurf
          0
          3
          52

        • How Does Google Webmaster Tools Come Up with Content Keywords?
          OlegKorneitchouk
          OlegKorneitchouk
          0
          6
          2.6k

        • Is there a way to tell Google a site has duplicated content?
          Chris.Menke
          Chris.Menke
          0
          3
          130

        • Hiding Legitimate Content From Google Without Penalty?
          Cyrus-Shepard
          Cyrus-Shepard
          0
          6
          293

        • Does class and id names considered as text content by google
          CPU
          CPU
          0
          2
          235

        • User experience regarding dulpicate content and managing this content with google.
          LadyApollo
          LadyApollo
          0
          3
          350

        • Original content and the Google Panda Update
          eunaneunan
          eunaneunan
          0
          3
          910

        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