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
-
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 -
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 -
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 -
How long will it take for the link analysis to be updated?
In an effort to evaluate SEOmoz I started off my free trial with a fresh website that I am going to get to rank on the first page and hopefully to the #1 spot. I have been link building and changing the website around a lot. When I created the website hosted by HostGator with wordpress installed I marked down where it showed up the first time. After checking for many days to about the 100th spot I found it in spot 65. I have since then been spending some time (not a ton of time, but enough) guest posting, some bookmarking, press release creation and some other odds and ends stuff. The page has gone up to 23rd but there have been no signs of any work done on the link analysis. So, How long does it take?
Moz Pro | | DLRISM0 -
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 -
Link Count Per Page Including JavaScript Links - Should We Worry About Them?
With large ecommerce sites, we usually have more than 100 links per page and many times have more than 200 links on each page due to links and images in the header, footer, guided navigation and then the body product grid and content. When I use most on-page link counting tools like SEO x-ray and the SEO Moz Pro crawl report, I notice that every visible link on the page gets counted. This includes and javascript based links that expand the product grid to 30, 60 or view all, javascript sorting links, javascript links to view customer reviews for each product. etc. There was a QA post here http://www.seomoz.org/q/should-i-nofollow-the-main-navigation-on-certain-pages about nofollowing and page rank sculpting and it seems pretty unanimous that most don't think that page rank sculpting is very valuable. So my question is, are the javascript links on pages that don't link to another page viewed differently by search engines? If so, shouldn't there be a way to see on-page link count minus javascript call links that don't actually link to another page? To expand a bit on my question, we also use nofollow attributes on the text links in the left navigation that are meant for refining products just as the javascript links in the product grid are meant to refine the products, sort them, allow for product comparison, allow for viewing customer reviews, etc. So should it be ok to have 300 links on a page if the unimportant ones that you don't want crawled like the left navigation refinements and product grid javascript links all have rel="nofollow" applied to them? I know that would basicly be PageRank sculting, but it seems like the best options for shopping sites that have a lot of navigation links.
Moz Pro | | abernhardt0