Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Dynamic Content: What It Is, Examples and How to Set It Up

Dynamic content changes for each visitor based on rules. Learn what it is, see website and email examples, and how to set it up safely.

Sorank customerSorank customerThomas Girauc, Sorank customerCelio Fabiano, Sorank customerSorank customerXavier Breull, Sorank customer
+ 9'000 Subscribers
Dynamic Content: What It Is, Examples and How to Set It Up
Notification: your site reached 20K clicks from Google Search in 28 days

Tools

On this page

Summary

Dynamic content is content on a website, in an email or in an app that changes based on who is viewing it, instead of showing the same text, image or offer to everyone. The content is chosen by rules that use data such as location, past visits or the page the visitor came from.

Want to go further? Ask

Dynamic content is the opposite of a page that looks the same for every visitor. A returning customer can see a welcome back message, a visitor from one city can see a local offer, and a shopper can see the products they looked at last. The page or the email stays the same, but the part that changes is filled in when the person opens it.

How does dynamic content work?

Dynamic content works in three steps. The tool collects data about the visitor, you set rules that match that data, and the matching block is shown. Each step is simple on its own, and the setup is mostly planning.

  1. Collect data. The site or the email tool knows something about the visitor: the country, the device, the page they came from, a past order, or a tag added by a form.
  2. Set rules. You write rules such as "if the visitor is in France, show the French offer". Most tools let you combine several conditions in one rule.
  3. Show the matching version. When the page loads or the email opens, the block that matches is inserted. Visitors who match no rule still need to see something, so every dynamic block also needs a default.

How is dynamic content different from static content?

Static content is the same for everyone. Dynamic content changes for each visitor. A blog article is static content, because every reader gets the same words. A product page that shows the stock left in real time is dynamic, because the stock changes with each visit.

PointStatic contentDynamic content
Who sees itEveryone, the same wayEach visitor, depending on rules
What decides itThe author, when the page is writtenData about the visitor, when the page is opened
SetupWrite once and publishWrite the blocks, set the rules, test each path
Main riskA message that is generic or out of dateVisitors and crawlers seeing different pages

Static content is easier to check, because you can read the page as it is. Dynamic content needs a test for every rule, which is why most teams start with one change.

What are examples of dynamic content on a website?

Common website examples are product recommendations, location offers, landing pages and logged-in areas. They all apply the same idea: the page reads something about the visitor and changes one part of its content. This is one tool inside content personalization, which is the wider goal of tailoring each visit.

  • Product recommendations based on the items a visitor already viewed or bought.
  • Location-based offers, such as a local store address or a delivery date for the visitor's area.
  • Landing pages that change their headline based on the ad or the search the visitor came from.
  • Banners and pop-ups that appear for new visitors but not for existing customers.
  • Logged-in areas, such as a dashboard that shows only the data of the user who signed in.

What are examples of dynamic content in email?

Email is the easiest place to see dynamic content at work. One campaign goes to the whole list, but each contact gets the blocks that match them. Mailchimp's help page explains that you can send one email that shows different content to different contacts, and that each block can use conditions such as "is" or "is not" a tag, a group or an audience value, as described in Mailchimp's help article on dynamic content.

Mailchimp help page on dynamic content, showing the settings that make a block visible to some contacts only
Screenshot of mailchimp.com

Three common email examples:

  • A welcome block for new subscribers, and a different block for people who have already bought.
  • A block with the address of the nearest shop, shown only to contacts in one city.
  • A message for people who have not opened an email for a long time, asking them to come back.

How do you set up dynamic content?

To set it up, start with one page or one email and one goal, such as more sign-ups or more orders. Do not change the whole site on the first day. Follow these steps:

  1. Write the default version first. It is what every visitor sees when no rule matches, and it is the version a search engine reads.
  2. Choose data you can trust, such as the country or the source of the visit. Use only the data your visitors agreed to share.
  3. Write one variant per rule. Keep each variant close in meaning to the default, so the page still makes one clear point.
  4. Mark up the main facts of the default version with schema markup, so that tools can read them.
  5. Test each path. Open the page as a visitor who matches each rule, and as a visitor who matches none. Then measure each variant with an A/B test on the results before you roll it out to more pages.

In most email and site builders you set this up with menus, not code. Code is useful to understand the logic, as in this simple example:

if visitor.country == "FR":
    show block "Offer for France"
else:
    show block "Default offer"

Does dynamic content hurt SEO?

Not by itself. The risk is showing a search engine something different from what a visitor sees. Google's spam policies describe cloaking as "presenting different content to users and search engines with the intent to manipulate search rankings" in its spam policies. The rule is about intent. Changing an offer for a visitor is one thing, and showing a crawler a different topic is another.

Google also calls dynamic rendering, a setup that serves a prepared version of a page to crawlers, a workaround and not a recommended solution, in its dynamic rendering documentation. So the safe pattern is simple. The title, the main text and the links should be in the default version, and the personal changes sit on top of it. Read crawlability to learn how search engines reach each page. Sorank's free crawlability audit shows whether AI bots can reach your pages.

Common dynamic content mistakes

Three mistakes cause most of the problems. Each one is easy to check.

Hiding the main text behind a script

What it is: the page loads an empty shell, and a script fills in the text after the visit starts. How to spot it: turn off JavaScript in your browser and reload the page. If the main text disappears, a crawler may not see it either. How to fix it: put the title, the main text and the links in the default version, and load only the extra blocks with a script.

Showing crawlers a different topic than visitors

What it is: the default version is about one subject, and the variant for a rule is about another. How to spot it: compare the title and the first paragraph of the default version with those of each variant. How to fix it: keep the same subject in every variant, and change only the offer, the image or the call to action.

Leaving out the default block

What it is: a dynamic block has rules but no default, so a visitor who matches no rule sees an empty gap. How to spot it: preview the page or the email as a visitor with no matching data. How to fix it: add a default block to every dynamic block, and check that it reads well on its own.

Why does dynamic content matter for SEO and GEO?

Dynamic content changes what each reader sees, so it changes what can be measured and cited. For SEO, the version that search engines read must carry the topic, the text and the links. For GEO, the AIs pick the clearest version of a page to quote. A page that says one thing to each visitor is hard to cite. A default version that is clear, complete and easy to read gives the AIs something stable to quote. Use structured content to organize the default version, then add the changes around it.

Conclusion

Dynamic content is simple to explain and easy to get wrong. Change the offer for each visitor, but keep the topic the same. Write a clear default, add rules one at a time, test every path, and make sure a search engine sees the same subject as a person does.

Sources

Frequently asked questions

Is dynamic content bad for SEO?

Not by itself. The risk is showing search engines different content from what visitors see, with the intent to manipulate rankings. Keep the default version complete and easy to crawl, and change only the offer for each visitor.

What is the difference between dynamic content and personalization?

Dynamic content is the mechanism: a block or part of a page that changes. Personalization is the goal of tailoring each visit. Dynamic content is one of the tools used to personalize a site or an email.

Do you need to code to use dynamic content in email?

Usually not. Many email tools let you add conditions to a block with menus, such as a tag, a group or an audience field. Code helps you understand the logic, but the builder does the work.

Our Blog for Ambitious Company

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel