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.
How valuable is content "hidden" behind a JavaScript dropdown really?
-
I've come across a method implemented by some SEO agencies to fill up pages with somehow relevant text and hide it behind a javascript dropdown. Does Google fall for such cheap tricks?
You can see this method used on these pages for example (just scroll down to the bottom) - it's all in German, but you get the idea I guess:
http://www.insider-boersenbrief.de/
http://www.deko-und-kerzenshop.de/
How is you experience with this way of adding content to a site? Do you think it is valuable or will it get penalised?
-
Hey guys -
Good question here. You are right, JFKORN, that the scenario I described in my post was where content that should be accessible to Google was hidden behind Javascript. Of course, Google is now indexing Javascript and can parse it quite well, so I'm not sure it still holds true, but I still recommend, to be safe, to not serve content using Javascript.
It seems to me, though, that you are asking the opposite. But what they are doing here seems to be legit to me. In my mind, it is not any different from simply using a collapsible DIV to put tabs onto a page, like on this page: http://www.rei.com/product/812097/black-diamond-posiwire-quickpack-quickdraw-set-package-of-6. I would actually say that it's fine to do this. But, be careful with the content because you do not want to get into "stuffing" the pages with keywords, which can hurt your rankings, even without an official penalty. I've seen this more as an assumed algorithmic penalty that then went away when the text was removed.
So be careful, but I don't think you'd be doing anything greyhat here.
-
Thank you for the reply. I checked the link you posted, good information there. The only thing I was thinking about: The scenario John described wasn't necessarily content hidden behind an accessible dropdown. I'm still wondering if this makes any difference to Google. Hiding content to users completely or giving them the choice to display it by clicking the dropdown button seems different to me. One could also do this using CSS, just like with CSS dropdown navigation. There wouldn't even have to be any JS involved. Seems all pretty grey-hat to me though.
-
UNANIMOUS. Dont do it. We had several sites we were working on, from an acquisition, that had it hidden and did some extensive research last month and got consistent feedback that it will be picked up by google.
This guys name is john doherty. He is an active contributor to seomoz and I have read some great seo articles from him.....in this one he gives an example of an seo audit and what to make sure you look for.....
http://www.johnfdoherty.com/seo-facepalms-dont-hide-content-behind-javascript/
Without any lack of clarity he tells you not to do it.....we got the same feedback from several other folks in seo at the agency level.
Good luck.
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
-
Collapsible sections - content
**Hi,****I am looking to improve the aesthetics of some pages on my website by adding written content into collapsible tabs. I was wondering whether the content that is ‘hidden’ by tabs is given less weight by Google from the perspective of SEO? **Some articles I have read suggest that tabbed content is weighted equally with the content which is already immediately visible to the user, but others suggest that this may not be the case. **Please, can I request opinions on the matter? Any advice would be greatly appreciated, many thanks.**Katarina
Technical SEO | | Katarina-Borovska0 -
"Noindex, follow" for thin pages?
Hey there Mozzers, I have a question regarding Thin pages. Unfortunately, we have Thin pages, almost empty to be honest. I have the idea to ask the dev team to do "noindex, follow" on these pages. What do you think? Has someone faced this situation before? Will appreciate your input!
Technical SEO | | Europarl_SEO_Team0 -
Schema markup for products is missing "price": Is this bad?
Hey guys, So a current client of mine has an e-commerce shop with a few hundred products. They purposely choose to keep the prices off of their website, which is causing errors in Google Webmaster Tools. Basically the error shows: Error: Structured Data > Product (markup: schema.org) Error type: missing price 208 items with error Is this a huge deal? Or are we allowed to have non-numerical prices for schema ie. "call for quote"
Technical SEO | | tbinga1 -
Does using data-href="" work more effectively than href="" rel="nofollow"?
I've been looking at some bigger enterprise sites and noticed some of them used HTML like this: <a <="" span="">data-href="http://www.otherodmain.com/" class="nofollow" rel="nofollow" target="_blank"></a> <a <="" span="">Instead of a regular href="" Does using data-href and some javascript help with shaping internal links, rather than just using a strict nofollow?</a>
Technical SEO | | JDatSB0 -
Rel="Follow"? What the &#@? does that mean?
I've written a guest blog post for a site. In the link back to my site they've put a rel="follow" attribute. Is that valid HTML? I've Googled it but the answers are inconclusive, to say the least.
Technical SEO | | Jeepster0 -
"nofollow pages" or "duplicate content"?
We have a huge site with lots of geographical-pages in this structure: domain.com/country/resort/hotel domain.com/country/resort/hotel/facts domain.com/country/resort/hotel/images domain.com/country/resort/hotel/excursions domain.com/country/resort/hotel/maps domain.com/country/resort/hotel/car-rental Problem is that the text on ie. /excursions is often exactly the same on .../alcudia/hotel-sea-club/excursion and .../alcudia/hotel-beach-club/excursion The two hotels offer the same excursions, and the intro text on the pages are the exact same throughout the entire site. This is also a problem on the /images and /car-rental pages. I think in most cases the only difference on these pages is the Title, description and H1. These pages do not attract a lot of visits through search-engines. But to avoid them being flagged as duplicate content (we have more than 4000 of these pages - /excursions, /maps, /car-rental, /images), do i add a nofollow-tag to these, do i block them in robots.txt or should i just leave them and live with them being flagged as duplicate content? Im waiting for our web-team to add a function to insert a geographical-name in the text, so i could add ie #HOTELNAME# in the text and thereby avoiding the duplicate text. Right now we have intros like: When you visit the hotel ... instead of: When you visit Alcudia Sea Club But untill the web-team has fixed these GEO-tags, what should i do? What would you do and why?
Technical SEO | | alsvik0 -
Cloaking? Best Practices Crawling Content Behind Login Box
Hi- I'm helping out a client, who publishes sale information (fashion sales etc.) In order for the client to view the sale details (date, percentage off etc.) they need to register for the site. If I allow google bot to crawl the content, (identify the user agent) but serve up a registration light box to anyone who isn't google would this be considered cloaking? Does anyone know what the best practice for this is? Any help would be greatly appreciated. Thank you, Nopadon
Technical SEO | | nopadon0 -
Rel="external"
Hi all, I got a link and its off a site and marked up with rel="external". Is this a followed or nofollowed link? Does it pass link juice? Thanks
Technical SEO | | Sharer0