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
-
How do you create tracking URLs in Wordpress without creating duplicate pages?
I use Wordpress as my CMS, but I want to track click activity to my RFQ page from different products and services on my site. The easiest way to do this is through adding a string to the end of a URL (ala http://www.netrepid.com/request-for-quote/?=colocation) The downside to this, of course, is that when Moz does its crawl diagnostic every week, I get notified that I have multiple pages with the same page title and the dup content. I'm not a programming expert, but I'm pretty handy with Wordpress and know a thing or two about 'href-fing' (yeah, that's a thing). Can someone who tracks click activity in WP with URL variables please enlighten me on how to do this without creating dup pages? Appreciate your expertise. Thanks!
Moz Pro | | Netrepid0 -
The pages that add robots as noindex will Crawl and marked as duplicate page content on seo moz ?
When we marked a page as noindex with robots like {<meta name="<a class="attribute-value">robots</a>" content="<a class="attribute-value">noindex</a>" />} will crawl and marked as duplicate page content(Its already a duplicate page content within the site. ie, Two links pointing to the same page).So we are mentioning both the links no need to index on SE.But after we made this and crawl reports have no change like it tooks the duplicate with noindex marked pages too. Please help to solve this problem.
Moz Pro | | trixmediainc0 -
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 -
Domain redirection www or without
when i start campain for the first time it says " "Roger has detected a problem: We have detected that the domain www.xxxxxxtour.com and the domain xxxxxxtour.****.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here." How to resolve this and how can i redirect xxxxxxtour..com to www.xxxxxxtour.com ? Thank you
Moz Pro | | innofidelity0 -
Would someone be willing to site audit us and give us some tips/advice?
Hi, Would someone or a whoever is willing to, help me get me head around what the OSE is telling me? I had a few quotes from firms who used this and they basically tried to sell me the world for £500 a month. So I have done my own SEO over the past 5 months and I think the figures are slowly going up, as are visits and sales (albeit slower than the visits). The site is www.designerboutique-online.com, if anyone is willing to take a look around, throw me some constructive criticism, some praise and some tips/hints etc... that would be great. Our budget is very small, hence the reason for doing it myself, so maybe if I could take some advice and put it into action, I could start making some big changes. Some competitors to compare us with are: www.odsdesignerclothing.com www.tessuti.co.uk www.uniquemenswear.co.uk www.endclothing.co.uk www.psyche.co.uk Thanks Will
Moz Pro | | YNWA0 -
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 -
Open Site Explorer vs. Linkscape... without mozRank passed how do you measure link value?
Hi all, Since Linkscape was retired we've been struggling without the mozRank passed data for our competitor research. However, I've read that it wasn't a particularly reliable metric to go on so my question is: what makes a link more valuable, in your opinion? I'm trying to work out the relation between Page Authority / Domain Authority / Number of Links etc., ideally to come up with some form of ranking system where we can say: Overall link value = ( (A x Page Authority) x (B x Domain Authority) x (C x Number of Links) ) / Number of Linking Domains or something like that. Is this a good way to go about it? What do you guys look at when using the OSE data? Thanks in advance for your help!
Moz Pro | | OmarKattan0