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 -
Following moz guideliness complety, will it certainly improve keyword rankings, domain authority
Hi! G’day to you. I am Naresh from Dotline Infotech. I’d like to take up couple of concerns to be clarified for my better understanding on Moz tool. Indeed, Moz is a nice SEO tool that helps in improving Search engine optimization comprehensive process. We are moz pro member since a year. Moz has equally bifurcated every SEO activity and rate it according to its own benchmark. I intend to ask a series of concerns; Q1. Moz has page grading system A to F. According to Moz guidelines, if the keywords on the page gets repeated minimum 4 times, Moz consider it as ‘A’ grading (one of Moz metric to evaluating the page). Whereas, Google indicates repetition of same keywords time and again is treated as keyword stuffing. According to me, if keywords are already within the content one or two time and furnishing relevant information, why keywords re-occurrence to be 4 time. Does the repetition of same keywords 4 times will lead to give more valuable information? Just a request to let me share why we should unnecessarily repeat keywords? Q2. As per Google guidelines, only 3 keywords can be placed in title tag and also advisable to use only one h1 tag instead of multiple. Among 3 keywords in title tag, only one main keyword can be used in H1 tag. Moz gives much weight age to that particular keyword placed in H1 tag but rest two keywords does not get any importance. I just like to know if we use three H1 tags within page, will it increase the page grading or not. Q3. Does Moz tool have its own index data or refer to Google’s ones? Q4. Following the Moz guidelines completely, will it be 100% sure all our keyword rankings, page authority, domain authority certainly be improved. Looking forward to hear you soon. Thanks
Moz Pro | | dotlineseo0 -
My account recently got deactivated due to billing issues. I reactivated my account, but all of my campaigns are gone. Is there a way I can get back my campaigns without having to redo all of them??
My account recently got deactivated due to billing issues. I reactivated my account, but all of my campaigns are gone. Is there a way I can get back my campaigns without having to redo all of them??
Moz Pro | | DorianDDR10 -
When will the rankings be updated?
Hi we are still waiting for our new rankings, since Tuesday, I understand there is a problem, but when will it be fixed? Thanks. James.
Moz Pro | | Quime0 -
Is there a way to select multiple pre-existing keywords and assign a category to all of them?
I added a number of keywords and want to go back and categorize them. What is the easiest way to do this? I couldn't find a way to put a check mark on each of them and "apply category" so how can I do this?
Moz Pro | | BlueLinkERP0 -
How to read Crawler downloaded report
I am trying to seperate the duplicate title and description URLs, by looking at the report i am not getting how to find all urls which contain same title and description. Is there any video link on the site which walk me through each part of the report. Thanks, Punam
Moz Pro | | nonlinearcreations0 -
Crawl Diagnostics finding pages that dont exist. Will Rel Canon Help?
I have recently set up a campaign for www.completeoffice.co.uk. Im the in-house developer there. When the crawl diagnostics completed, i went to check the results, and to my surprise, it had well over 100 missing or empty title tags. I then clicked it to see what pages, and nearly all the pages it say have missing or empty title tags, DO NOT EXIST. This has really confused me and need help figuring out how to solve this. Can anyone help? Attached image is a screen shot of some of the links it showed me on crawl diagnostics, nearly all of these do not exist. Will the relation Canonical tag in the head section of the actual pages help? For example, The actual page that exist is: www.completeoffice.co.uk/Products.php Whereas, when crawled it actually showed www.completeoffice.co.uk/Products/Products.php Will have the rel can tag in the header of the real products.php solve this?
Moz Pro | | CompleteOffice0 -
When will Rank Tracker be mended
I have been waiting for many days now to use rank tracker but it is still broke. when i put the keyword into rank tracker the wheel just goes around and around and brings no results. Can anyone from the semoz team let me know when it will be mended
Moz Pro | | ClaireH-1848860