Skip to main content
All CollectionsResponsys
Responsys - Dynamic Optimisation - Email Campaign Setup
Responsys - Dynamic Optimisation - Email Campaign Setup

Get your Responsys campaign all prepped and ready

Updated over 4 months ago

Whether you'll be sending a broadcast or triggered campaign with Dynamic Optimisation, there are a few things we'll need to do to get your Responsys campaign ready.

Keep in mind, the steps we're going to walk through are the additional settings you'll need to get your Responsys campaign ready to work with a Jacquard experiment. You will still need to take your usual steps in Responsys for prepping your campaign, too.

1. Configure a dynamic variable in your email message data source

To begin, prepare your email campaign in Responsys as you normally would.

Once you've got everything set, navigate to your Email Campaign Designer and click on Data sources. It's located in the Email message box.

In the data sources pop-up menu, click OK under Dynamic variables to add a dynamic variable to your data sources.

Paste the following into the Alias field for the dynamic variable you just added:

SUBJECT_LINE

Next, click on the Script icon.

Paste the following into the Script editor:

<#attempt><#assign variant=parsejson(load("PASTE_JACQUARD_EXPERIMENT_URL_HERE&recipient_id=${CONTACTS_LIST.RIID_?skip}&delivery_id=${.now?string('yyyyMMdd')}"))>${variant['variant_text']?exec}<#recover>Paste your fallback subject line here</#attempt>

In your Jacquard experiment's Dynamic Optimisation menu, click on your unique experiment URL to copy it.

Paste the copied URL over the PASTE_JACQUARD_EXPERIMENT_URL_HERE placeholder text in the Script editor.

Then, paste your human control language over the Paste your fallback subject line here placeholder text.

Your Script editor should now look similar to the example below.

If you're using your Responsys account-level contacts list as the Profile List for your campaign and your account-level list is named CONTACTS_LIST, you can click Apply now.

If you're using a different list as the Profile List for this campaign or your account-level contacts list is named something different, you will need to replace the ${CONTACTS_LIST.RIID_?skip} variable in the Script block with the proper RIID field in your Profile List. The variable is highlighted in the example below.

It is essential to include your RIID field accurately to ensure the Dynamic Optimisation works properly. So if you're confused about which field to use here, reach out to your Jacquard Customer Success representative for assistance.

Once you're certain your RIID field has been added properly, click Apply.

Then, click Save.

2. Add the dynamic variable and tracking pixel to your message

Back in the Email Campaign Designer, click Edit message.

Paste the following in the Subject field:

${SUBJECT_LINE}

Next, paste the following into the HTML body of your email:

<#attempt><#assign variant=parsejson(load("PASTE_JACQUARD_EXPERIMENT_URL_HERE&recipient_id=${CONTACTS_LIST.RIID_?skip}&delivery_id=${campaign.id}${.now?string('yyyyMMdd')}"))><img src="${variant.statistics_url}" width="1" height="1"><#recover> </#attempt>

Generally, this should be pasted after the preheader section to ensure your preheader still displays properly in all inboxes.

Just like you did earlier for the dynamic variable script, you must again make sure you replace the PASTE_JACQUARD_EXPERIMENT_URL_HERE placeholder with the URL from Dynamic Optimisation menu in your Jacquard experiment.

You must also check to ensure the ${CONTACTS_LIST.RIID_?skip} variable is correct for your Profile List. It's vital the RIID variable matches between the dynamic variable script and tracking pixel code.

When you're finished, the tracking pixel code should look something like the example below.

When your tracking pixel is all set, click the Back to Campaign button to return to the campaign designer dashboard.

3. Ensure UTF-8 encoding is enabled

Scroll down to the Additional settings section and ensure UTF-8 encoding is enabled. If it is enabled, you'll see a Yes next to UTF-8 encoding.

If it isn't enabled already, open the Additional settings section and check the box next to UTF-8 encoding and then click Save.

4. Configure deployment settings

Congrats! That's all of the campaign designer settings required to connect your Responsys campaign and Jacquard experiment.

If this is a broadcast experiment, proceed to the broadcast launch settings article.

If this is a triggered experiment, simply deploy the experiment via your normal triggered sending method.

Did this answer your question?