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 -
Why are there significant changes in the amount of duplicate content without any known action?
I've noticed a surprisingly rapid change in duplicate content over the past month. I'd noticed ~6,000 instances of duplicate content, after disavowing bad links we went down to 3k, this makes perfect sense to me. But after that, without doing anything whatsoever, from last Thursday, the 20th, to yesterday the instances of duplicate content decreased again down to 2k. Could this just be a delayed indexing of pages or are there other factors here? Thanks for the help.
Moz Pro | | allurez0 -
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 -
Wordpress.com does no allow google analytics will that effect my seo campaign started with seomoz?
Hello All, Since I have my domain mapped to wordpress.com site which does not allow google analytics ... I am worried if it would effect my seo campaign out here . While i see on the seomoz platform, i am being prompted for analytics I wish to know if its ok running seo campaign without analytics ? If not , what should i do to avail analytics ??
Moz Pro | | mysayindia0 -
How to Link sub-pages of a category without cannibalization?
What's the best practice to link to sub-categories without cannibalizing SEO? Main page title = Dog Sub page title = dog collar Sub sub page = spiked dog collar I used SEOMoz program and it showed the link from the main page to the sub page as cannibalized and also as duplicate title Same thing for the sub-sub page. How to avoid it? Please provide examples Questions: Would you use: dog_collar or dog-collar for the sub-page? How would you link to the sub page from the main page? How to title the sub pages to avoid duplicate titles? How would you link to the website from other websites? What kind of tags would you want used in the links?
Moz Pro | | HMCOE0 -
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 -
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