Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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... 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Homepage SEO optimization
 Hello, I’m almost ready to lunch my new website https://thetravelhoop.com , I just need to create the content of the product page and put all the images. I would like to know what you think in terms of SEO of the home page (is the content that I want to rank the most). My doubt is that since it is a landing page, there is not a lot of text but mostly <h>. It’s not a styling decision of course (I know is bad practice) but mostly because they are supposed to be title/headings.</h> Do you think I’m doing something wrong, or do you have any suggestions? Thank you, Daniele On-Page Optimization | | danielecelsa0
- 
		
		
		
		
		
		Do WooCommerce product tags effect SEO?
 I'm just curious if I need these product tags and if they impact in any way at all SEO? - whether that be positively or negatively. on1iRin On-Page Optimization | | xdunningx0
- 
		
		
		
		
		
		SEO audit on a beta site
 HI there, Is there much point conducting an SEO site audit on a site that has not yet launched and is protected behind a login? Presumably none of the usual SEO tools (Moz, Screaming Frog etc) can crawl this site becuase it is all locked behind a login. Would it be better to launch it and then do a site audit? Thanks On-Page Optimization | | CosiCrawley0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		Does the link title attribute benefit seo?
 Hello, Anyone could tell me the benefit SEO of link title attribute. Is **Link Title **ranking factor? Thanks On-Page Optimization | | JohnHuynh0
- 
		
		
		
		
		
		Disclaimer in footer - is it affecting my SEO?
 For legal reasons I am required to include a 266 word disclaimer in the footer of every page of my credit card comparison site creditcards.com.au. My question is in 2 parts: is this indexable content likely to be hurting my SEO? if so, what is the best way to include the text in the footer but prevent search engines from indexing it? Thanks. On-Page Optimization | | OMGPyrmont0
- 
		
		
		
		
		
		What is the most SEO friendly Shopping Cart?
 What is the most SEO friendly shopping cart? I have been using zen-cart for 6 years. Seems Google doesn't like it as much as other carts. I started a new site about 6 months ago using Magento. When I build links to this site the terms move. The terms are very similar. So I would imagine the competition is the same. I am curious if anybody has tried with different carts and found anyone to be better than the others. Also the new site has about one tenth the amount of products but has a lot more pages indexed. On-Page Optimization | | kicksetc0
- 
		
		
		
		
		
		How do Maximize WordPress with 2 SEO Plugins
 I have 2 WordPress SEO Plugins, Yoast and All-in-One SEO. I have tried like heck to make them work together, but every time I crawl my site here, I get multiple error messages. My question is, how can I tweak the title settings to avoid having multiple meta desctiptions, titles etc. On-Page Optimization | | TheSportsDaddy0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				