Will a Javascript object be read without pre-rendering?
-
I have site that is in staging. I have a Javascript object on one of my pages. Is there a way to test to see if google crawler will read the js object without pre-rendering in the code?
-
The fetch as Googlebot function in GWT is definitely your best bet here.
Most JavaScript dropdowns I've run into are being indexed properly by Google by now but if your particular JS implementation isn't being executed when fetching as Googlebot, then you'll need to use a solution like prerender.
-
I don't believe Google will make a selection for each option in a drop-down, even if they're able to see it. The traditional wisdom is to also provide ways to click to each location - so, somewhere there should be a link to each state, then you can have URLs like /bands/arizona and show the bands in Arizona.
I also have a search-based interface, and I do OK, but our short-term plans include a way to click through to each location without submitting a search form - it should help Google find our content.
-
Pre-rendering - the javascript is a state dropdown. Content is displayed based on the selection. I did the Fetch as Googlebot and dont see the javascript.
-
What do you mean by "Without Pre-Rendering"?
Google says they can now index some Javascript content. I believe they're using actual browsers, or something very similar, to index web pages. Depending on how true this is, there's a chance they'll index anything you have hidden away in Javascript.
You can use the "Fetch as Google" tool in Webmaster Tools to see what the Googlebot sees. I just ran a test on my site and it does render Javascript. On my site some page elements appear in a different place with Javascript disabled, and in Google's render of the page they appear in the Javascript-enabled location. If you have actual content in the Javascript I don't know what Google will do with it, but they can at least see the result of your Javascript.
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
-
Got Spam Score on New Sites without Building Backlinks
Hey MOZ Team, I hope you guys are fine. Actually today I'm reviewing my client site and suddenly saw that their spam score is 39. They don't have too many backlinks. They have few of them and they're not Sammy. Can you Guide me a little bit why these types of things happens. Because the site is almost new. Here's the website link: https://pmpteacher.com/
Moz Pro | | koipl0 -
New blog site spam score is 40+ without any backlink
I have purchased a new domain ( Studytobecome.com ) from GoDaddy, before 15 days, and i just writing daily 1 article on my site, without any SEO, or backlinks, but now when I see in Moz spam score of my site after 15 days it shows 40+ without any links. How to reduce it, and whats the problem is, I don't understand.Please help me.5Vc6zl8
Moz Pro | | bhavierureu1 -
Image galleries without
My product's image galleries have no <title>or <meta>. Galleries are automatically generated. Moz crawl tool diagnosed this may cause problems for my SEO. These pages does not include any relevant information for the customers, including only a few images each. What should I do?<br />1) NOINDEX<br />2) insert <title> and meta tags<br /><br /><br /></p></title>
Moz Pro | | lema210 -
How do you get your web site recrawled with Moz without waiting for a week?
My initial crawl was screwed up because of a no follow that needed to be removed. I would like Moz to recrawl the site right away so I can find any other errors.
Moz Pro | | Ron_McCabe0 -
SEOmoz PRO: How to manage a Site with 2 languages on the same domain - without mixing up data?
I want to track a "rootdomain" that has two languages on it, the english version is in a subfolder /en/ 1. http://website.de
Moz Pro | | inlinear
2. http://website.de/en/ I want to manage and track each language-version isolated. So I will setup:
1. http://website.de as campaign DE - german
= as Root Domain
But as there are links to the /en/ Subfolder these data will also be included in all reports. And there is still no option in SEOmoz PRO to exclude folders or even urls.?! This will be bad when wanting a clear report of just one Language Version. 2. http://website.de/en as campaing EN - english
To track as "Subfolder" will not work beacause this option will only consider exactly this subfolder... So is there a way to see data just only for one language Version?0 -
Will SEOmoz improve my google ranking?
I want to know iwll SEOmoz improve my google ranking. will they improve my keywords.
Moz Pro | | imusmanbutt0