• About Us
  • Contributors
  • Guides
  • Speaking Engagements
  • Write for The SEM Post
  • Submit a tip or contact us!
  • Newsletters

The SEM Post

Latest News About SEO, SEM, PPC & Search Engines

  • Google
  • SEO
  • Mobile
  • Local
  • Bing
  • Pay Per Click
  • Facebook
  • Twitter
  • State of the Industry
You are here: Home / Google / Google: Types of Links That Googlebot Will & Will Not Follow

Google: Types of Links That Googlebot Will & Will Not Follow

May 11, 2018 at 3:39 am PST By Jennifer Slegg

  • Facebook
  • Twitter
  • Google+
  • Pinterest
  • LinkedIn
  • Email
  • WhatsApp
  • Evernote
  • SMS

At Google I/O yesterday, Google clarified the types of links that Googlebot will follow.  While “a href” is the standard link type, they also covered various other link types and whether Googlebot would follow them or not.

In particular, they clarify some uses of the JavaScript onclick attribute within links and which ones Googlebot will process as links, and which ones Googlebot will not.  There is a type of onclick link that Googlebot will process, and they also give examples of the ones it will not.

Using JavaScript in links has proven problematic for SEOs, as some sites have valid reasons – such as for design or for tracking reasons – to use onclick when creating links on a site.  But with Googlebot not processing and/or following all types of them, it can lead to crawl issues, especially if a site with some of the problematic links does not have a great sitemap to go along with it.

Here is the slide from the session:

Here are the full comments:

So now let’s just talk about these links quickly, because honestly, that’s some of the most important parts of the web.

How do search crawlers, like Google, find links?  Well, I can’t speak for all search crawlers, but I can say at Google, we only analyze one thing – anchor tags with href attributes.  That’s it.

<a href=”/good-link”>Will be crawled</a>

For example, this span here

<span onclick=”changePage(‘bad-link’)”>Not crawled</span>

that I’ve just added, won’t get crawled because it’s not an anchor.

And this additional span I’ve added

<a onclick=”changePage(‘bad-link’)”>Not crawled </a>

even though it’s an anchor, it doesn’t have an href attribute.

But if you are using JavaScript such as with the history API that I mentioned earlier, to navigate the page purely on the client and fetch new content dynamically, you can do that, so long as you use the anchor tags with the href attributes like in this last example, because most search crawlers, including Google, will not simulate a simulation of a page to find links, only the anchor tags will be followed for linking.

<a href=”/good-link” onclick=”changePage(‘good-link’)”>Will be crawled</a>

It does clarify a bit better the type of links Google will process – and not process – where JavaScript is being used.

  • Facebook
  • Twitter
  • Google+
  • Pinterest
  • LinkedIn
  • Email
  • WhatsApp
  • Evernote
  • SMS
The following two tabs change content below.
  • Bio
  • Latest Posts
My Twitter profileMy Facebook profileMy Google+ profileMy LinkedIn profile

Jennifer Slegg

Founder & Editor at The SEM Post
Jennifer Slegg is a longtime speaker and expert in search engine marketing, working in the industry for almost 20 years. When she isn't sitting at her desk writing and working, she can be found grabbing a latte at her local Starbucks or planning her next trip to Disneyland. She regularly speaks at Pubcon, SMX, State of Search, Brighton SEO and more, and has been presenting at conferences for over a decade.
My Twitter profileMy Facebook profileMy Google+ profileMy LinkedIn profile

Latest posts by Jennifer Slegg (see all)

  • 2022 Update for Google Quality Rater Guidelines – Big YMYL Updates - August 1, 2022
  • Google Quality Rater Guidelines: The Low Quality 2021 Update - October 19, 2021
  • Rethinking Affiliate Sites With Google’s Product Review Update - April 23, 2021
  • New Google Quality Rater Guidelines, Update Adds Emphasis on Needs Met - October 16, 2020
  • Google Updates Experiment Statistics for Quality Raters - October 6, 2020

Filed Under: Google, SEO

Sign up for our newsletter


Founder & Editor

Jennifer Slegg (2052)

Sign up for our daily news recap & weekly newsletter.


Follow us online

  • Facebook
  • Google+
  • Linkedin
  • Pinterest
  • Twitter

Latest News

2022 Update for Google Quality Rater Guidelines – Big YMYL Updates

We finally have the first Google Quality Rater Guidelines update of 2022, and like usual, it is … [Read More...]

Recent Posts

  • 2022 Update for Google Quality Rater Guidelines – Big YMYL Updates
  • Google Quality Rater Guidelines: The Low Quality 2021 Update
  • Rethinking Affiliate Sites With Google’s Product Review Update
  • New Google Quality Rater Guidelines, Update Adds Emphasis on Needs Met
  • Google Updates Experiment Statistics for Quality Raters
  • Analyzing “How Google Search Works” Changes from Google
  • Google Quality Rater Guidelines Update: New Introduction, Rater Bias & Political Affiliations
  • Google Updates Quality Rater Guidelines: Reputation for News Sites; Video Content Updates; Quality for Information Sites
  • Google Makes Major Changes to NoFollow, Adds Sponsored & UGC Tags
  • Google Updates Quality Rater Guidelines Targeting E-A-T, Page Quality & Interstitials

Categories

  • Affiliate Marketing
  • Amazon
  • Apple
  • Bing
  • Branding
  • Browsers
  • Chrome
  • Content Marketing
  • Design
  • Domains
  • DuckDuckGo
  • Email
  • Facebook
  • Firefox
  • Foursquare
  • Google
    • Analytics
    • Google RankBrain
    • Quality Rater's Guidelines
  • History of Search
  • Industry Spotlight
  • Instagram
  • Internet Explorer
  • Links
  • Local
  • Mobile
  • Native Advertising
  • Other Search Engines
  • Pay Per Click
  • Pinterest
  • Publishers
  • Security
  • SEO
  • Snapchat
  • Social Media
  • State of the Industry
  • The SEM Post
  • Tools
  • Twitter
  • Uncategorized
  • User Experience
  • Video Marketing
  • Week in Review
  • Whitepapers
  • Wordpress
  • Yahoo
  • Yelp
  • YouTube
June 2023
MTWTFSS
« Aug  
 1234
567891011
12131415161718
19202122232425
2627282930 

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2023 · News Pro Theme On Genesis Framework · WordPress · Log in