--- title: "Setting Up a Push Notification Experiment" slug: "sfmc-broadcast-dynamic-optimisation-setting-up-a-push-notification-experiment" updated: 2025-07-23T20:11:09Z published: 2025-07-23T20:11:09Z canonical: "support.jacquard.com/sfmc-broadcast-dynamic-optimisation-setting-up-a-push-notification-experiment" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.jacquard.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting Up a Push Notification Experiment 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. [![](https://downloads.intercomcdn.com/i/o/787364555/c39ed75d5162f151badd8ec1/image.png?expires=1749484800&signature=8cee9b919946313e2d0bdc406b896ff0ec0fb5f71d507889a45dc7aabc33ac9a&req=cyggFc96mIRaFb4f3HP0gL6d5EfKBNgsrNDQnNGL7cGmaXLr18MVsj%2B2dgF0%0A7bOJeJy3jEv%2FncjMtQ%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787364555/c39ed75d5162f151badd8ec1/image.png?expires=1749484800&signature=8cee9b919946313e2d0bdc406b896ff0ec0fb5f71d507889a45dc7aabc33ac9a&req=cyggFc96mIRaFb4f3HP0gL6d5EfKBNgsrNDQnNGL7cGmaXLr18MVsj%2B2dgF0%0A7bOJeJy3jEv%2FncjMtQ%3D%3D%0A) ## 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. [![](https://downloads.intercomcdn.com/i/o/787365707/9c076b4fb598e4719864466b/image.png?expires=1749484800&signature=9a85ed56b1081803d6e56068ae5d7dc40051575dd58f796def243d356004aa96&req=cyggFc97moFYFb4f3HP0gNoKAvKGWAoWu%2B5EORFhOSoTA8NPICzjGk1%2BWVCS%0AjiXo%2BAOhbt7OQjv0WQ%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787365707/9c076b4fb598e4719864466b/image.png?expires=1749484800&signature=9a85ed56b1081803d6e56068ae5d7dc40051575dd58f796def243d356004aa96&req=cyggFc97moFYFb4f3HP0gNoKAvKGWAoWu%2B5EORFhOSoTA8NPICzjGk1%2BWVCS%0AjiXo%2BAOhbt7OQjv0WQ%3D%3D%0A) 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. [![](https://downloads.intercomcdn.com/i/o/1015945004/f7bfe5acb4f1b779cd73920b/image.png?expires=1749484800&signature=1f6f0b2cd058a5939a9e7c381036ac87a965b60e9556238e398f6c34d6ce54d4&req=dSAmE8B6mIFfXfMW1HO4zbrXCPS0L9Vn9EhHjEdVvhAmcK3DNlmxE4ttRieu%0Ai4Mr5qsPJ1G7GDGHY%2B0%3D%0A)](https://downloads.intercomcdn.com/i/o/1015945004/f7bfe5acb4f1b779cd73920b/image.png?expires=1749484800&signature=1f6f0b2cd058a5939a9e7c381036ac87a965b60e9556238e398f6c34d6ce54d4&req=dSAmE8B6mIFfXfMW1HO4zbrXCPS0L9Vn9EhHjEdVvhAmcK3DNlmxE4ttRieu%0Ai4Mr5qsPJ1G7GDGHY%2B0%3D%0A) 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. [![](https://downloads.intercomcdn.com/i/o/787366893/054ec1daa8b9dfeae901346b/image.png?expires=1749484800&signature=53da236da886a577bb20ab8113988d2c1a46238a7ac23a5ab24ee70829108654&req=cyggFc94lYhcFb4f3HP0gNlCktvXIEmRNX19SQCXADqEeZelNJOrqh8ZEZNU%0Az76RDGNLFseE9Ozjyw%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787366893/054ec1daa8b9dfeae901346b/image.png?expires=1749484800&signature=53da236da886a577bb20ab8113988d2c1a46238a7ac23a5ab24ee70829108654&req=cyggFc94lYhcFb4f3HP0gNlCktvXIEmRNX19SQCXADqEeZelNJOrqh8ZEZNU%0Az76RDGNLFseE9Ozjyw%3D%3D%0A)[![](https://downloads.intercomcdn.com/i/o/787367887/5e4137efab8c8aa71fb05b77/image.png?expires=1749484800&signature=6d590ac7f369cd46db97d3d0f7ef9a5522248e72fb27655a2fffdc14894449c0&req=cyggFc95lYlYFb4f3HP0gOVr1uPJlmh6ad58TSD45U68Ke3i%2F5aIqH6CNRc6%0AjW1IMyz3N0IT4OLuyg%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787367887/5e4137efab8c8aa71fb05b77/image.png?expires=1749484800&signature=6d590ac7f369cd46db97d3d0f7ef9a5522248e72fb27655a2fffdc14894449c0&req=cyggFc95lYlYFb4f3HP0gOVr1uPJlmh6ad58TSD45U68Ke3i%2F5aIqH6CNRc6%0AjW1IMyz3N0IT4OLuyg%3D%3D%0A) ## Update Contact configuration Configure the **Update Contact** activity. [![](https://downloads.intercomcdn.com/i/o/846336292/59a1d45cfa17c223f8e0cb2d/PushBroadcast2.png?expires=1749484800&signature=37b53b9a935e42567fcdf2b902db438b0748a341d5a793f68075a22d8125b6c1&req=fCQhFcp4n4hdFb4f3HP0gC2ZeMQyIMUoCP0GzDEzzLkP3mS6vECOYzag6fNK%0AvU4tbfkhcyBXUEUlig%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/846336292/59a1d45cfa17c223f8e0cb2d/PushBroadcast2.png?expires=1749484800&signature=37b53b9a935e42567fcdf2b902db438b0748a341d5a793f68075a22d8125b6c1&req=fCQhFcp4n4hdFb4f3HP0gC2ZeMQyIMUoCP0GzDEzzLkP3mS6vECOYzag6fNK%0AvU4tbfkhcyBXUEUlig%3D%3D%0A) Select the **-openers** data extension in the Jacquard experiment folder. [![](https://downloads.intercomcdn.com/i/o/787375295/f389515e28cdda7a520dec20/image.png?expires=1749484800&signature=da7e3f55f95cefe60ad2c82dec731978cba37b6d54265b33add66829208da309&req=cyggFc57n4haFb4f3HP0gKLh5qGzN%2BuV%2BotObN9Pb28rlGA79p%2B%2F8Fyqr9Dj%0AAPjRfGzjvwEEQFuQmg%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787375295/f389515e28cdda7a520dec20/image.png?expires=1749484800&signature=da7e3f55f95cefe60ad2c82dec731978cba37b6d54265b33add66829208da309&req=cyggFc57n4haFb4f3HP0gKLh5qGzN%2BuV%2BotObN9Pb28rlGA79p%2B%2F8Fyqr9Dj%0AAPjRfGzjvwEEQFuQmg%3D%3D%0A) Set the **messageOpened** attribute to **True**. [![](https://downloads.intercomcdn.com/i/o/787376129/846b4429a2c1fb5c704848de/image.png?expires=1749484800&signature=e22f18640e047245864d592756cf853f4e32df7930241393762203858436d53c&req=cyggFc54nINWFb4f3HP0gAcNiqNZGl8W5jEPLlw3%2BChZvsez5hk7RwpNWn4N%0AUnhpwJ23hzh5GD0vXw%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787376129/846b4429a2c1fb5c704848de/image.png?expires=1749484800&signature=e22f18640e047245864d592756cf853f4e32df7930241393762203858436d53c&req=cyggFc54nINWFb4f3HP0gAcNiqNZGl8W5jEPLlw3%2BChZvsez5hk7RwpNWn4N%0AUnhpwJ23hzh5GD0vXw%3D%3D%0A) ## 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**. [![](https://downloads.intercomcdn.com/i/o/787383203/074a6b59ec362e7503d8f58c/image.png?expires=1749484800&signature=22ed010e3471f6a8ae484c38c132edccdf702d04747ec8ed5a6e41100235e9b2&req=cyggFcF9n4FcFb4f3HP0gDYhlvgXIWsPrBTgpM1NAg6WQQ1e9expC%2BZnAlK%2F%0A6C54ur%2Bw7gdJ1Of1Mw%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787383203/074a6b59ec362e7503d8f58c/image.png?expires=1749484800&signature=22ed010e3471f6a8ae484c38c132edccdf702d04747ec8ed5a6e41100235e9b2&req=cyggFcF9n4FcFb4f3HP0gDYhlvgXIWsPrBTgpM1NAg6WQQ1e9expC%2BZnAlK%2F%0A6C54ur%2Bw7gdJ1Of1Mw%3D%3D%0A) This will allow you to select the data extension and subscribers to preview the message with. [![](https://downloads.intercomcdn.com/i/o/787385563/5c90ef58b237f5df87ad3b2b/image.png?expires=1749484800&signature=5647cd8d8218184a2ecd5d8fbd94d5c28a3bc1367f14721dda8e76015f24c8f4&req=cyggFcF7mIdcFb4f3HP0gLpvZk%2FLDAU54ny9Xt28Eeg4qy5fy4QqWCoP56Ho%0AtTO3MwTZNjGUb7dSrw%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787385563/5c90ef58b237f5df87ad3b2b/image.png?expires=1749484800&signature=5647cd8d8218184a2ecd5d8fbd94d5c28a3bc1367f14721dda8e76015f24c8f4&req=cyggFcF7mIdcFb4f3HP0gLpvZk%2FLDAU54ny9Xt28Eeg4qy5fy4QqWCoP56Ho%0AtTO3MwTZNjGUb7dSrw%3D%3D%0A) Remember to change the variable back to **PushJobID** before activating the journey to send. [![](https://downloads.intercomcdn.com/i/o/787382366/18624263ad3507a55786022f/image.png?expires=1749484800&signature=b63e1ea42a26be59a794f368e3a5e12b9edf6acfa4a17c9779d9ab6135359d8a&req=cyggFcF8nodZFb4f3HP0gNKatDU74sgbfRMwEsSeWgPyLQGnSLNgHiE0QEal%0AlBdYyqirMJ%2FgUK3xrA%3D%3D%0A)](https://downloads.intercomcdn.com/i/o/787382366/18624263ad3507a55786022f/image.png?expires=1749484800&signature=b63e1ea42a26be59a794f368e3a5e12b9edf6acfa4a17c9779d9ab6135359d8a&req=cyggFcF8nodZFb4f3HP0gNKatDU74sgbfRMwEsSeWgPyLQGnSLNgHiE0QEal%0AlBdYyqirMJ%2FgUK3xrA%3D%3D%0A) With all of that done, you're ready to activate your journey as you normally do.