Campaign Studio dynamic web content (DWC) can be used to personalize the web experience for your contacts by displaying different content to different contacts based on the data collected about them.
This page describes how to create DWC that can be used for:
DWC for websites can be either campaign-based or non-campaign-based. This criteria is based on the data in your contact database. For more information, visit Campaign and non-campaign DWC.
Configure the CORS settings to enable Campaign Studio to pass information back and forth with your website.
In the CORS Settings section, ensure that the Restrict Domains field is set to Yes (default).
Restricting your domains ensures only websites that you allow can send data to and read data from your Campaign Studio instance.
In the Valid Domains field, add the domains that you are using with your Campaign Studio instance, including any domains using DWC.
Create a default version of DWC as a fallback for instances when personalization is not possible. This ensures that all users, especially those without identifiable data or targeting criteria, see relevant and functional content, providing a seamless experience even when personalization rules do not apply. Default DWC is the content that visitors see when:
However, anonymous contacts can see some DWC if you have collected any information about them that meets the targeting criteria. For example, location data.
To create DWC for external webpages and Campaign Studio landing pages:
On the Dynamic Content page, click +New to create a new slot.
Campaign Studio displays the New Dynamic Content page.
Enter the necessary values for the following fields:
Acquia recommends that you configure the settings in the menu on the right before creating the content.
Internal Name: The name that the system displays on the Dynamic Content list page and in your DWC slots.
Acquia recommends that you include information about the following:
Data point that you are personalizing.
For example, country.
The content in the slot.
For example, if you are creating a personalized slot for contacts in the United States, you can name the slot Country - United States
.
All DWC with the same slot name must be of the same Type.
Is campaign based?: To configure whether DWC is associated with a campaign or is used independently of campaigns. For more information, visit Campaign and non-campaign DWC.
Select one of the following options:
If toggled to No, the system displays additional configurations such as Filters, Requested slot name, and Order/Priority.t
data-param-slot-name
attribute on the HTML element that displays the DWC on your webpage or Campaign Studio landing page. For example: With a slot name of 'sidebar', you would embed it using <div data-slot="dwc" data-param-slot-name="sidebar">Default Content</div>
. A single data point can map to multiple slots, which often results in a generic name. Acquia recommends including the slot name within the item name for clarity. For example, include: country.
Content: To create DWC including text, images, videos, and tokens to use in external webpages and Campaign Studio landing pages.
Use the default WYSIWYG builder to create DWC.
To add a token, do one of the following:
{
and select the token from the dropdown menu.DWC tokens cannot be used within another DWC. The system issues a notification if it detects nested DWC, prompting you to remove it and preventing an infinite loop of nested DWC checks.
To use HTML, click the </> Source
button in the toolbar to switch to the code view.
If you selected the Type > Text option, the WYSIWYG is not available and you can only enter text-type DWC. Tokens are supported but must be entered manually.
The Type > Text option can also be used for creating email subject line. For more information, visit Dynamic web content for emails.
After you create DWC, you must implement the content on your external webpage or Campaign Studio landing page. For more information, visit Implementing DWC for websites.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Mon May 26 2025 10:50:15 GMT+0000 (Coordinated Universal Time)