Start by creating your experiment in Jacquard. Once you've approved the variants, you'll have access to the integration drawer on the right side of the screen.
Use the panel to set the Start schedule and End schedule dates. The start time should be set to at least one hour before the push notification is going to deploy to subscribers.
Once set, click Start optimisation and Jacquard will create everything needed to run the experiment in Salesforce.
Journey setup
One of the pieces Jacquard creates is a code snippet that pulls the variant text into the push notification at send time. Find the code snippet named after the experiment you created in Jacquard in the Content section of Salesforce. Then, open it and copy the code to your clipboard.
To deploy the message you will need to create a journey as shown below.
It is best practice to templatise this in your Journey Builder instance.
This journey is structured to send a test message to a small portion of the audience. The journey will record the opens of those messages using the Wait Until Push Event and Update Contact activities in the Jacquard -openers data extension.
After a predetermined number of hours (4 hours in our example below), the message will deploy to the rest of the audience with the best-performing message language from the test. The Message, Wait Until Push Event, and Update Contact activities should all be configured with the same settings.
The following diagram was updated April 2024 to make use of the Join activity.
Message configuration
Configure your push message in the journey by giving it a Title and Subtitle and pasting the code snippet you copied into the Message field.
Update Contact configuration
Configure the Update Contact activity.
Select the -openers data extension in the Jacquard experiment folder.
Set the messageOpened attribute to True.
Previewing the push message
To preview the message in the journey so you can check that everything is configured correctly, change the code snippet variable @PPushJobID to 0000.
This will allow you to select the data extension and subscribers to preview the message with.
Remember to change the variable back to PushJobID before activating the journey to send.
With all of that done, you're ready to activate your journey as you normally do.