Publish a new hero banner into Experience Builder for use in personalizations.
Before creating personalizations using Personalization, we must first publish variations in Experience Builder. In this example, we will create a new hero banner to leverage in future personalizations.
Personalizations consist of the following three elements:
- Content - used for the personalization
- Slots - the place on the website that is personalized
- Rules - a segment of people that view the personalization
Our website stores hero images in a custom block called Hero. Therefore we will use the Hero block type to create this personalization.
Navigate to Experience Builder using following URL path: /admin/config/services/acquia-contenthub/configuration
- In other words, this page can also be found with using the click-through path of Configuration > Web Services > Content Hub > Entity Configuration
Select the Publish check box by the Custom Block > Hero entity we want to publish to Content Hub. Publishing this Content to Experience Builder will allow us to use this content in a targeted personalization.
Additionally, select Publish View Modes and add at least one View mode to use for our personalization. (Note: In order for Content to be available in Experience Builder, it needs to be published with at least one View mode enabled)
Scroll to the bottom of the form and click Save configuration
Save the new variation of the Hero block
Go to the URL path /admin/structure/block/block-content and add or modify the Hero block as applicable
Save the block edit form. The customized hero will now be available in Experience Builder
(Optional) If Experience Builder has been previously set up, you can view your newly-published Hero block on your homepage under the Content tab for use in personalizations
Congratulations, your content is now ready for use in a personalization.