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. Technical SEO Issues
    4. What's going on with google index - javascript and google bot

    What's going on with google index - javascript and google bot

    Technical SEO Issues
    4 3 475
    • 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.
    • cobano
      cobano last edited by

      Hi all,

      Weird issue with one of my websites.

      The website URL: http://www.athletictrainers.myindustrytracker.com/

      Let's take 2 diffrenet article pages from this website:

      1st: http://www.athletictrainers.myindustrytracker.com/en/article/71232/

      As you can see the page is indexed correctly on google:

      http://webcache.googleusercontent.com/search?q=cache:dfbzhHkl5K4J:www.athletictrainers.myindustrytracker.com/en/article/71232/10-minute-core-and-cardio&hl=en&strip=1 (that the "text only" version, indexed on May 19th)

      2nd: http://www.athletictrainers.myindustrytracker.com/en/article/69811

      As you can see the page isn't indexed correctly on google:

      http://webcache.googleusercontent.com/search?q=cache:KeU6-oViFkgJ:www.athletictrainers.myindustrytracker.com/en/article/69811&hl=en&strip=1 (that the "text only" version, indexed on May 21th)

      They both have the same code, and about the dates, there are pages that indexed before the 19th and they also problematic. Google can't read the content, he can read it when he wants to.

      Can you think what is the problem with that? I know that google can read JS and crawl our pages correctly, but it happens only with few pages and not all of them (as you can see above).

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

        Hi there

        I would take a look at the Fetch as Google tool in your Search Console and see what issues arise there - I would do this for both your desktop and your mobile, so that you can see how these pages are being rendered by Google.

        If you get a "Partial" status, Google will return the issues that they have ran into, and you can prioritize your issues & how you want to handle them from there.

        You can read more about Javascript and Google here as well as here.

        Hope this all helps! Good luck!

        cobano 1 Reply Last reply Reply Quote 0
        • cobano
          cobano @PatrickDelehanty last edited by

          Hi Patrick,

          We already tested all the pages with fetch as Google tool, sorry that I didn't mention is before but everything over there is ok. I see the 'Partial" status, but the issues are with one of the social plugins and without any connection to the content.

          So, all the tools show that it should be ok, but google isn't indexing correctly the pages.

          I already checked:

          1. Frontend code.

          2. No-index issues

          3. Canonical issues

          4. Robots.txt issues

          5. Fetch as Google issues

          I know that google can read JS, and I don't understand why he can read only part of the pages and not all of them (there isn't any difference between them).

          Everett 1 Reply Last reply Reply Quote 0
          • Everett
            Everett @cobano last edited by

            Hello Or,

            I just checked the most recent cache and it looks like Google does NOT see the content on the first URL (ending in /71232/) but does see it on the second one (ending in 69811).

            This is the opposite of the situation you described above.

            Yes, Google "can" execute Javascript, but just because they can doesn't mean they will every time. Also, perhaps not all of their bots can or do execute Javascript every time. For instance, the bot they use for pure discovery may not, while the one they use to render previews may.

            Or they could have given the Javascript only so long to execute.

            I also notice the page that is currently not indexed fully has an embedded YouTube video. Not that this would typically cause any problems with getting other content indexed, in your case it may be worth looking into. For example, it could contribute to the load time issue mentioned above.

            When it comes to executing scripts, submitting forms, etc... Google is very much at the stage of just randomly "trying stuff out" to "see what happens". It's like a hyperactive baby in a spaceship just pushing buttons like crazy, which is why we run into issues with "spider traps" and with unintentionally getting dynamic pages indexed from form submissions, internal searches and other oddities in site architecture. It is also one of the reasons why markup like Schema.org and JSON-LD are important: They allow us to label the buttons so the bot "understands" what it is pressing (or not).

            I apologize that there is not definitive answer for your problem at the moment, but given the behavior has switched completely I'm not sure how to go about investigating. This is why it is still very much a best practice to ensure all of your content is indexable by not rendering it with Javascript. If you can't see the textual content in the source code (as is the case here) then you are at risk of it not being seen by Google.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Google how deal with licensed content when this placed on vendor & client's website too. Will Google penalize the client's site for this ?
              katemorris
              katemorris
              1
              4
              94

            • Test site got indexed in Google - What's the best way of getting the pages removed from the SERP's?
              Yarden_Uitvaartorganisatie
              Yarden_Uitvaartorganisatie
              0
              5
              1.3k

            • Anything new if determining how many of a sites pages are in Google's supplemental index vs the main index?
              SEMPassion
              SEMPassion
              0
              4
              390

            • How to Remove /feed URLs from Google's Index
              M_D_Golden_Peak
              M_D_Golden_Peak
              0
              3
              5.2k

            • Google indexing less url's then containded in my sitemap.xml
              Juist
              Juist
              0
              7
              3.4k

            • Sitemap coming up in Google's index?
              UnderRugSwept
              UnderRugSwept
              0
              5
              743

            • Can JavaScrip affect Google's index/ranking?
              echo1
              echo1
              0
              7
              1.7k

            • How to fix and test Google's indexing / caching problem
              ShaMenz
              ShaMenz
              0
              2
              972

            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