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
-
Unsolved Why did I stop ranking on a keyword and how will I rank on it again?
I often see in my campaigns, that keywords which ranked on a page between spot 1 to 5 on the SERP stop being ranked on that respective page, causing the website to be in the 5th page or worse on Google. I also see that the keyword is not linked to a page anymore. What causes this to happen and how can I solve this from happening in the future? Capture.PNG
Moz Pro | | Ginovdw0 -
Moz Crawl Test: WordPress sites with and without /feed and /trackback entires?
I have multiple WP websites and on some of the websites, on my Moz Crawl test, I see an entry for every blog post but also entries for /feed and /trackback for that single blog post. For example, www...com/someArticle www....com/someArticle/feed www...com/someArticle/trackback 1. Can anyone explain why the Crawl test is picking up the /feed and /trackback items? Is it simply because they are 301 redirects to the original post (www...com/someArticle)? 2. What setting(s) in WordPress are making this information appear? Or is it just that the site(s) that have the /feed and /trackback are displaying "normal" behavior for a WP site with a lot of trackbacks and feed entires? 3. Should /fee and /trackback, as well as /author be blocked in robots.txt? Thanks in advance for your advice and input!
Moz Pro | | Titan5520 -
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 google plus be added to campaigns under Social in the dashboard?
I am new here and i am very exited about the seomoz software and all the tipps and tricks i find here. But i have one question, will there be an improvement to the Social Monitoring to add google plus, because i think in 2012 google plus would be a Must for every SEO. Thank You!
Moz Pro | | AndrDaub0 -
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 -
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