Javascript data
-
Hi,
My developers are currently revamping our site. My developer is putting the data via javascript in the . However, there's something that is bothering me. Does the JS data in the affects SEO?
-
Hey guys, thanks for the responses. Appreciate it. I shall instruct my developer to put it in a JS file instead of having it on the
-
Yes, the bots will read and try to index your Javascript, which you don't want. (Google says its bots can read around 90% of all Javascript.) You'll want to create a separate .js file (like you would with CSS file).
-
I agree, they could easily add this to an include file and call it from the template.
-
Yes it does, Why npt put it in a js.file
tthis is what bing says about large amounts of script, your page will definatly trip up on this
http://perthseocompany.com.au/seo/reports/violation/the-page-contains-a-large-amount-of-script-code
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
-
Bing & JavaScript?
Hi Moz Community, Are Bing/Yahoo crawlers different from Google’s crawler in terms of how they process client side JavaScript and especially content/data loaded by client side JavaScript? Thanks,
Technical SEO | | znotes0 -
Using Javascript to Display Responsive Images?
Hi We're making our new website responsive and are thinking of using a solution that would resize the images using javascript. So the image would be displayed like this <div data-src="/img/200x100.png">div> depending on what size fits the screen Is is okay for SEO? Or do we also need a fall back that doesn't use javascript? Thanks
Technical SEO | | ShearingsGroup0 -
Javascript tabbed navigation and duplicate content
I'm working on a site that has four primary navigation links and under each is a tabbed navigation system for second tier items. The primary link page loads content for all tabs which are javascript controlled. Users will click the primary navigation item "Our Difference" (http://www.holidaytreefarm.com/content.cfm/Our-Difference) and have several options with each tabs content in separate sections. Each second tier tab is also available via sitemap/direct link (ie http://www.holidaytreefarm.com/content.cfm/Our-Difference/Tree-Logistics) without the js navigation so the content on this page is specific to the tab, not all tabs. In this scenario, will there be duplicate content issues? And, what is the best way to remedy this? Thanks for your help!
Technical SEO | | Total-Design-Shop0 -
Multi-domain content and meta data feed
Hi, I am working with a client whose web developer has offered to build a CMS that auto-feeds meta-data and product descriptions (on-page content) to two different websites which have two completely different URL's (primary domain names) associated with them. Please see screenshots attached for examples. The entire reason this has been offered is to avoid duplicate content issues. The client has two E-Commerce websites but only one content management system that can update both simultaneously. The work-around shown in the screenshots is the developers attempt at ensuring that both sites have unique meta data and on-page content associated with each product. Can anyone advise whether they foresee that this may cause any issues from an SEO perspective. Thanks in advance wM3ngsj.png KtBun98.png
Technical SEO | | SteveK640 -
Setting title tag with javascript/jquery
Hi there, I'm looking for some advice. I've recently implemented a few jQuery functions which gets specific content from the page and then sets the title and description. See working example here. It seems to work fine but my question I have is whether Google bots can read it and whether it might actually hinder my SEO efforts? Any advice would be really appreciated! Peter
Technical SEO | | peterallen0 -
Is micro data on every page over kill?
Hi Rand & Team, I am using microdata for the company address in the footer of all pages. This shows up as over 3000 pages on the "Structured Data" in Google WMT. Is this overkill? Should I have the microdata only on the home page? Please advice. Mash
Technical SEO | | MashBonigala0 -
Javascript void and PageRank
Do javascript void links to on-page elements (not to a new page) consume PageRank? I'm paring down links on a client's homepage, and we have javascript void links (wrapped in <a href="">) that load videos, elements of a slider, etc. on the page itself.</a> <a href="">Basically, if I have a bunch of these, is it going to weaken the power of the other links on the page?</a>
Technical SEO | | LCNetwork1 -
Optimizing a website which uses JavaScript and jQuery
Just a quick question (or 2) If I have divs which are hidden on my page, but are displayed when a user clicks on a p tag and the hidden div is displayed using jquery a user clicks on an a tag and the hidden div is displayed using jquery with the href being cancelled in both examples, will the hidden content be optimized, or will the fact it is initially hidden make it harder to optimize? Thanks for any answers!
Technical SEO | | PhatJP0