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
-
Product Tag Value on SEO
Do product tags for ecommerce sites have any benefit to SEO? Or are they redundant? i.e. thespacecollective.com/astronaut-moldavite-pendant (tags appear below the product name on the right)
On-Page Optimization | | moon-boots0 -
Change of URL + SEO Impact
We recently changed the URLs from our site http://www.website.com (old)
On-Page Optimization | | ederdesign
https://website.com/us/en/ (new) Our ranking is plummeting every since and I wonder if the new URL had something to do with it. Do you know if that change, could have impacted the ranking?0 -
Why are http and https pages showing different domain/page authorities?
My website www.aquatell.com was recently moved to the Shopify platform. We chose to use the http domain, because we didn't want to change too much, too quickly by moving to https. Only our shopping cart is using https protocol. We noticed however, that https versions of our non-cart pages were being indexed, so we created canonical tags to point the https version of a page to the http version. What's got me puzzled though, is when I use open site explorer to look at domain/page authority values, I get different scores for the http vs. https version. And the https version is always better. Example: http://www.aquatell.com DA = 21 and https://www.aquatell.com DA = 27. Can somebody please help me make sense of this? Thanks,
On-Page Optimization | | Aquatell1 -
Woocommerce ULRs & SEO
My company is in the process of converting from a .net site to a wordpress site using Woocommerce. We are #1 in Google SEO ranking and have spent a lot of time getting to this point. My currents URL is /smithco.com/rotating-widgetsbecause of the way wordpress works - I'm going to have /product/ in the URL in the new siteThew new URL will be/smithco.com/product/rotating-widgetsShould I be worried about this ?thanks in advance
On-Page Optimization | | ThomasErb0 -
Does css float affect SEO?
It is generally believed that the closer the content is to the top of the page, the better it is for SEO. If that's incorrect, please let me know. I have a 2 column site where the left menu is navigation and right side is content. Obviously, the left menu appears in the code before the content does, but I can flip them around via css float. If I do that, the content will appear on the left visually, even though in the code it still comes after the left side navigation. Do either positions affect seo?
On-Page Optimization | | cmp1010 -
Does Changing Hosting Provider Affect SEO?
I am having a site with more than 1,500 visits per day and I have suffered from two "blackouts" of one day each with my actual hosting Provider. I would like to change the Hosting Provider, but I am afraid of losing lots of visitors if I do the change. The change will be to a dedicated IP and the location of the IP will be in the same country. Will my site be affected on SEO results as a consecuence of this change? Thanks and regards Maria
On-Page Optimization | | goperformancelabs0 -
Different names for Twitter/Facebook, and site?
Greetings, I want to optimize my site, www.atstrust.com. I know that posts to Facebook and Twitter help improve ranks. Does it matter though if my twitter/facebook sites have a different name than the domain I am optimizing? For example, my Facebook site is facebook.com/easyinspection. I assume that doesn't matter as long as the URLs on the site refer to my domain? Thanks! Eric
On-Page Optimization | | Ericc220