[data-personalize='hero-title'], then add a variant in Dynamite or through MCP.
Target types
For an image, target its wrapper with a component.
Keep the original
Dynamite captures the original content when it binds the target. The default variant restores that content. Keep the default available to all visitors. Avoid overlapping parent and child targets. If a headline, image, and CTA must change together, put them in one component target.Target configuration
Target configuration
This fragment belongs in See Configuration as code for the complete request.
draft.targets. Add hero-title to the target list of each relevant page.Selector and page matching
Selector and page matching
Use exact page paths:
/products and /products/ are distinct. Query strings and fragments are not page registrations.Invalid, missing, or ambiguous selectors are skipped. allowUnverified lets an author save a selector that was absent from server HTML; it does not relax the browser’s matching rules. Check targets after hydration and on every bound page.