Because the impact of JavaScript-injected content on sites’ search engine optimization (SEO) has yet to be comprehensively determined, the following is a summary of experiments we conducted to determine how our dynamic content affects site SEO, including Google crawling and indexation.
Our validation method included the use of unique strings to identify dynamic content and recommendation campaigns in (Google) search results. Google crawls and indexes the Experience OS JavaScript-based content. Content generated using dynamic content and recommendations is shown as plain text in the Google search engine results page (SERP) with any implementation (manual code embedding, automatic embed by choosing a selector, or using JavaScript in a custom code campaign).
For more information on the experiment, see our Personalization Impact on SEO web page.
Understanding the risks during website optimization
From a technical point of view, there are four main risks to consider when optimizing websites:
Cloaking
Cloaking happens when a website shows one version of content to search engine bots and another version to human visitors to manipulate organic rankings. This violates Google’s webmaster guidelines and is considered a serious SEO risk.
Dynamic Yield does not treat Googlebot or other crawlers differently from human visitors. Experience OS campaigns never create cloaking conditions.
Redirects
Use a temporary 302 HTTP status or a JavaScript‑based redirect. Do not use a 301 Moved Permanently status. A 302 status tells search engines that the redirect is temporary and that the original URL should remain indexed.
Dynamic Yield provides only temporary (302) or JavaScript‑based redirects. Because Experience OS operates almost entirely on the client side, 301 redirects are not available.
URL and content duplication
URL duplication:
Content duplication:
Web loading performance
- The Dynamic Yield script loads asynchronously and does not block page load
- Content is delivered through Amazon cloud servers and their CDN
- Content can be sent to your organization’s CDN if needed
- Our system maintains almost 100 percent uptime and supports more than 10 billion monthly page views for performance‑sensitive customers
Summary
- Search results are valid for all Dynamic Yield implementation methods
- Google acknowledges A/B testing as a legitimate optimization tool
- You should continuously test and improve your site experience