Add content variation to the proof subject in Adobe Campaign
When dealing with multiple variants defined within one delivery template featuring dynamic content blocks, stakeholders most likely want to see proofs for each variant. To enhance readability in their mailbox, I tend to add the email variant to the subject line.
A simple solution, similar to what we shown you when using salesforce marketing cloud platform, involves incorporating all necessary variants into the subject line exclusively for test sends. This strategy ensures that the integrity of the production send remains unaffected.
We need to do all nececessary changes on the delivery object modification script tab

Following code is used with Delivery activity for other activities you will need to figure out how to check whether we are in proof mode or not.

if (activity.actionType == 3)//proof mode action
delivery.mailParameters.subject = '<%= targetData.variant%>' + delivery.mailParameters.subject.toString();
Please note that I’m using delivery.mailParameters.subject.toString(). This is necessary because the subject is an XML parameter. If you don’t use the toString() method, everything before the subject line will be removed by Adobe Campaign.

This won’t change the subject line in the Adobe Campaign email dashboard, but the email you receive will include the personalized subject line. This is especially useful when sending emails that will be processed automatically. For example, we send a copy of each email to a technical mailbox for processing and saving into the system used by sales reps.
If you also want the subject line personalized in the email dashboard, you’ll need to query the target data, group it, and populate the subject line – or even better, use the proof prefix. This way, you’ll keep the original subject line intact.
For that, we’ll use the following code:
delivery.fcpParameters.addFormatInPrefix = false; // removes default prefix
delivery.fcpParameters.labelPrefix = "prefix" + " - " + "text";
To get information about the segment name, you need to separate your targeting data based on the segment for which you want to receive a proof.
đź”’ This content is for Premium Subsribers only.
Please log in to preview content. Log in or Register
You must log in and have a Premium Subscriber account to preview the content.
When upgrading, please use the same email address as your WordPress account so we can correctly link your Premium membership.
Please allow us a little time to process and upgrade your account after the purchase. If you need faster access or encounter any issues, feel free to contact us at info@martechnotes.com or through any other available channel.
To join the Discord community, please also provide your Discord username after subscribing, or reach out to us directly for access.
You can subscribe even before creating a WordPress account — your subscription will be linked to the email address used during checkout.
Premium Subscriber
19,99 € / Year
- Free e-book with all revisions - 101 Adobe Campaign Classic (SFMC 101 in progress)
- All Premium Subscriber Benefits - Exclusive blog content, weekly insights, and Discord community access
- Lock in Your Price for a Full Year - Avoid future price increases
- Limited Seats at This Price - Lock in early before it goes up





