hiding specific div from google

I am pulling data from our CRM database and posting it in on website as testimonials.
The data is continually updating, and each person coming to my site, sees the latest purchase.

I don't want that div and text crawled  by search engines.
is there a way to pull it in some sort of javascript/ajax tag
that will prevent the bots from indexing that content.


I do want the rest of the page crawled though
rivkamakAsked:
Who is Participating?
 
GaryConnect With a Mentor Commented:
You could do but Google can index js/ajax content.
You could use a simple js document.write if this is a static text that you only update on page request. At least this way Google is unlikely to show it in the search listings.
0
 
rivkamakAuthor Commented:
It's not static text. It's dynamic.
If I put the document.write, in my page load, will google not crawl it?
0
 
GaryCommented:
Yes but you are not grabbing it at page load are you or are you - are you using ajax to get it?
Google can/may crawl all js/ajax content.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.