Does show/hide element with javascript impact SEO
-
Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines.
I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button.
Would love to hear your thoughts?
-
Thanks, appreciate your thoughts
-
Ennovation and Malcolm are right - search engines will see the entire text, as long as the JS is just being used for show/hide (users without JS enabled will see the same thing).
As long as there is an option to show the text (i.e. it's not completely hidden from users), and the text itself isn't keyword-stuffed or spammy, I can't see a reason why search engines would consider it spam.
-
Google see the text anyway as it is hard coded into the html, the JS is only used on the front end to show the user so they can hide/show the text.
-
You can make with js a expand link or read more....
That will be ok... Search engines will see the entire text where as users will have to click to see the entire text...
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
-
News site and duplicate/cannibalism/old
Hey everybody. I am working with a handful of medical news websites and some of these sites are rather large. I am noticing/suspecting there is some cannibalism going on here. How do news sites deal with this? Do they noindex the old stuff? Update the old stuff instead of writing a new piece all together? Curious what to do!
On-Page Optimization | | HashtagHustler0 -
Click to Call Showing Below Organic Result?
I noticed this about a week ago and can't find any info on it. Basically below some ORGANIC results, when searching on mobile, I'm seeing the option to instantly call the company. http://vzp.ro/1oDV30g (this is a link to my Google Drive where I saved my mobile screenshot.) Anyone know how to achieve it or where it's pulling that data from My original though was schema or it's basis is from a Google+ Brand page. I didn't see any specific markup on the site when I went via desktop so not 100% sure even where to start. Cheers Darin. 1oDV30g
On-Page Optimization | | DarinPirkey1 -
Seo for company services page?
I am creating a site for a Dentist with 30 pages of services in a mega menu. Other than the actual pages should there be a central page with all the services on it hyper linking to each one? Thanks Scott
On-Page Optimization | | scott3150 -
Is it SEO-wise to edit an already published article?
One of the pages on the website is #7 on the first page for a highly competetive keyword. Since I would like to improve rankings and the page is not optimized (e.g. keyword density is 0), is it SEO-wise to edit an article and create a good on-page optimization? Of course, the ultimate goal is to be in TOP 3 for a specific keyword.
On-Page Optimization | | zorsto1 -
Schema for Web/SEO Service Pages
I was thinking about setting up my services pages for SEO and Web design with Schema code for a product. Is this a good idea? Has anyone done it?
On-Page Optimization | | NeilBelliveau0 -
SEO Structure - Best Advice
Hi Mozzers, I'm wondering if I need to tweak my SEO friendly URL structure slightly. Example: http://www.vintageheirloom.com/vintage-celine/celine-bags would this be better for SEO if it was: http://www.vintageheirloom.com/vintage-celine/bags Perhaps the repetition of 'celine' is unnecesary, but OpenCart ecommerce CMS requires a plugin / modification to enable multiple use of a single term like e.g. 'bags'. Any benefit for $30? Thanks!
On-Page Optimization | | well-its-1-louder0 -
Google SERPS showing wrong page.
I am new to SEO and trying to rank for keyword 'corporate entertainment' and my site is currently at 26. However google is showing the homepage http://www.musicliveuk.com in SERPS as opposed to my optomised page http://www.musicliveuk.com/home/corporate-entertainment. Any ideas why it is choosing so show the home page as the most relevant result?
On-Page Optimization | | SamCUK0 -
Singular / Plural
Hi SEOmoz staff I'm doing on a French website that sells Wall Stickers. The main French keyword therefore is: stickers muraux (wall stickers) sticker mural (wall sticker) When you look at my homepage title; I've put the singular and plural in there. Do you think it hurts my website? Should I eliminate my least favorite one (= sticker mural)? Any other advice? Thank you! Jacob from Belgium X45qb.jpg
On-Page Optimization | | Jacobe0