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
-
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 -
Fresh Web Explorer: Will frequent posting of relevant links to own content in comments of blogs and articles hurt rankings?
Fresh Web Explorer finds daily about 10 articles/blog posts where I could post in comment section a relevant link to content on my own website, which I really belief may be of interest to many readers of the articles. I would like to do this for the traffic that these links are generating to my site (intention is not ranking improvement).
Moz Pro | | lcourse
Would I need to be concerned that it could affect negatively my ranking if I post so many times links to my own site in the comment sections and also considering that I would always link to the same about 5 landing pages on my site? To give some context. The site for wich I want to build links for is long established PageRank 6 site with legit links from about 1000 different root domains. I would only post to articles published within last 48h. Would I need to be concerned about the frequency of the posting and if so, any ideas what may be a reasonable frequency to post my links?0 -
New Google AdWords Tool: How will this change your KWR?
Now that Google is debuting its new Google Adwords Keyword tool, how will this affect the way you do keyword research? Are there other tools you use?
Moz Pro | | alhallinan0 -
Added to product title showing the discount, will it affect the product rankings?
I've added the savings info to a few products to see if I get any more visits from google merchant, example; After Party | Save £5.40. will it harm the products ranking or merchant feed? http://www.thehairroom.co.uk/tigi-bed-head-styling-products/tigi-bed-head-after-party.htm Thank you Mark
Moz Pro | | smoki6660 -
Will SEOMoz offer URL data relating to Bot visits
Does SEOMoz in the future plan to report on Bot visits for each URL, when they are spidered and when they appear in for example Google's index ?
Moz Pro | | NeilTompkins0 -
Will SEOmoz improve my google ranking?
I want to know iwll SEOmoz improve my google ranking. will they improve my keywords.
Moz Pro | | imusmanbutt0 -
How to Stop SEOMOZ from Crawling a Sub-domain without redoing the whole campaign?
I am using SEOMOZ for a client to track their website's performance and fix any errors and issues. A few weeks ago, they created a sub-domain (sub.example.com) to create a niche website for some of their specialized content. However, when SEOMOZ re-crawled the main domain (example.com), it also reported the errors for the subdomain. Is there any way to stop SEOMOZ from crawling the subdomain and only crawl the main domain? I know that can be done by starting a new campaign, but is there any way to work around an existing campaign? I'm asking because we would like to avoid the setting up the campaign again and losing the historical data as well. Any input would be greatly appreciated. Thanks!
Moz Pro | | TheNorthernOffice790