Can Javascript be SEO friendly?
-
Is some Javascript SEO friendly?
I know that Google Webmaster Guidelines states you should avoid the use of Javascript, (http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35769), but does any one know if Google can read some Javascript or generally not?
-
That is correct.
-
Thank you. How would you best test if Google can read the copy included in a javascript file?
Would you just use a text browser as mentioned?
-
Hi Michelleh,JavaScript is not SEO friendly. You can find this statement all over the web.
Now a days Google is much smarter at dealing with JavaScript. Google can execute some JavaScript, but not all. This effectively means that Google Spiders can read JavaScript and have become smarter at knowing which forms to execute and read, and which parts to leave alone. It seems certain that as long as websites continue to use JavaScript, Google will continue to refine its ability to read the language.
Google Spiders can read JavaScript -- but only to a limited extent. Nonetheless, Google Spiders may read and execute some of the JavaScript embedded in your XHTML or elsewhere on your site. As with most things related to how Google ranks websites and reads pages, the exact extent of how the Google Spiders crawl and use the data is unknown.
Google can now use JavaScript for indexing. For more information please refer to this link:
http://searchengineland.com/google-can-now-execute-ajax-javascript-for-indexing-99518
-
Michelleh
First, I cannot find in the link provided by you where GWMT says "Avoid the use of Javascript."
And, I do not think that is really their position. (Given they have indexed it for some time now). Here is a great description by a level 10 on GWMT:
My own opinion of JS has always been ( because it can be disabled by a browser ) that you should use it to supplement user experience, and don't rely on it to render content that's important to be seen and used.
If someone has JS enabled - great - they benefit from the useability it provides, while if someone choose not have it enabled ( fear of viruses or malware ), they still receive the intended product/service delivered to them.
So, Is it SEO friendly per se?? Don't know that it is, but do not believe it hampers SEO. If user experience is improved it would be an SEO plus.
Hope it helps.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Can anyone recommend an SEO workflow?
I've been seeing great results with my efforts in the last few months. But I think my workflow is a mess is non-existent! Does anyone have a specific workflow that I could use as a base?
Intermediate & Advanced SEO | | Madstrategist1 -
Javascript and SEO
I've done a bit of reading and I'm having difficulty grasping it. Can someone explain it to me in simple language? What I've gotten so far: Javascript can block search engine bots from fully rendering your website. If bots are unable to render your website, it may not be able to see important content and discount these content from their index. To know if bots could render your site, check the following: Google Search Console Fetch and Render Turn off Javascript on your browser and see if there are any site elements shown or did some disappear Use an online tool Technical SEO Fetch and Render Screaming Frog's Rendered Page GTMetrix results: if it has a Defer parsing of Javascript as a recommendation, that means there are elements being blocked from rendering (???) Using our own site as an example, I ran our site through all the tests listed above. Results: Google Search Console: Rendered only the header image and text. Anything below wasn't rendered. The resources googlebot couldn't reach include Google Ad Services, Facebook, Twitter, Our Call Tracker and Sumo. All "Low" or blank severity. Turn off Javascript: Shows only the logo and navigation menu. Anything below didn't render/appear. Technical SEO Fetch and Render: Our page rendered fully on Googlebot and Googlebot Mobile. Screaming Frog: The Rendered Page tab is blank. It says 'No Data'. GTMetrix Results: Defer parsing of JavaScript was recommended. From all these results and across all the tools I used, how do I know what needs fixing? Some tests didn't render our site fully while some did. With varying results, I'm not sure where to from here.
Intermediate & Advanced SEO | | nhhernandez1 -
Seo for international sites
Hello, I have a question for the group, our main US site- http://www.datacard.com is utilized to move content to other regional sites like http://www.datacard.co.uk/ and http://www.datacard.fr/ and http://www.datacard.com.br/. Anyhow, we essentially have some regional content on those sites, but for ease of maintaining and updating the content we have a company translate this for us and then undergo an in country review for local people in our company to review the content. That being said the meta descriptions, titles, code, everything gets translated to that language. I know there are issue for SEO for these purposes as we get much better rankings with http://www.datacard.com. The regional sites are newer so this could be part of it. We don't have an agency helping us with SEo and i get a lot of questions on what can be done internally for this for regional sites with our current structure. Any tips you have? It would be greatly appreciated! Laura
Intermediate & Advanced SEO | | lauramrobinson320 -
Django and SEO - Multicountry site - Is Django really SEO friendly?
Hi Everyone, Our client is requesting that we use Django for her project. I am really uneasy about this for several reasons. The client wants a multi-country site that is completely SEO friendly. I love Wordpress and if I had to do this project it would be a Wordpress site with WPML + Yoast plugins site. Questions Is Django SEO friendly and what "plugins" should I be using? Is there a multi-country plugin for Django that keeps or adds typical SEO features? Can you recommend any great articles? Any example sites would be GREATLY appreciated Thanks
Intermediate & Advanced SEO | | Carla_Dawson0 -
Video seo stats
I've come across various places that give statistics for things like "Video search results have a higher click-through than plain text results. " and
Intermediate & Advanced SEO | | Gordon_Hall
"Video is 50 times more likely to get organic page ranks in Google than plain text results" How true are these and does anyone have a definitive guide to video SEO?0 -
Dynamic numbers in meta title - can it harm SEO?
We are creating an online shop with thousands of products. And i want to put total product number in index title, each day/week it will increase. This would be interesting for visitors to see. But would be it be good for SEO? For example title: "Brand - Buy Toys Online, We Have More Than 10659".
Intermediate & Advanced SEO | | bele0 -
SEO through Social Media, what have you been doing? :)
Hi, Just a general discussion really, what sort of thing have you been up to regarding social media and it helping SEO. One thing that does interest me is generating tweets/likes and also using Google plus profile to help SEO.
Intermediate & Advanced SEO | | activitysuper0 -
Local SEO (Rankings) + UK-wide SEO (national rankings) - achieving both
Hi All, For clients wishing to sell online / generate leads nationally, yet still want to have a local online presence to attract town / county-wide customers, I've often placed Town / County locations within both the Title Tag (or just County if space is limited) and Meta Description, plus within the Hx headings, Alt-text and within the footer of every page. My question is, does adding the location of the client within these fields really infringe their attempts to rank nationally, as some nationally ranked pages have no mention of location while others have their location (Town, County or Both) shown within them? Any help, insight or feedback greatly appreciated 🙂 Happy New Year Tony
Intermediate & Advanced SEO | | Tony-Dimmock0