How to change a specific word or phrase
To change a specific word or phrase in the text you are personalizing, you will need to set up the text on your website prior to personalizing it.
One suggestion is to wrap the text in ‘span’ HTML tags. You can then locate the element in the website preview pane to personalize that element for your campaign.
Example of adding span tags inside a heading.
Example of adding span tags inside a paragraph.
Example of adding span tags inside a list item.
Select the element in the website preview pane.
Use the personalization tool to edit the text and styles.
Changing word or phrases in multiple elements
To change multiple elements for a specific word or phrase, add a ‘class’ to the span HTML tag.
Use the selector in the ‘view / customize selector’ settings of the ‘Affected Elements’ tab when adding a personalization.
Example of adding a class to a span HTML tag.
Adding ‘span.hours’ to the ‘Affected Elements’ area in the personalization editing tool will apply the personalization to any span HTML tag where you have added the class of ‘hours’.