Adobe Experience Platform Launch is a rule-based system. It looks for user interaction and associated data. When the criteria outlined in your rules are met, the rule triggers the extension, script, or client-side code you identified.
Build rules to integrate the data and functionality of marketing and ad tech that unifies disparate products into a single solution.
For an introductory video, see Rule builder.
Events (If): The event is what you want the rule to look for. This is defined by choosing an event, any applicable conditions, and any exceptions.
Actions (Then): Triggers occur after a rule’s events take place and all conditions are satisfied. A rule in Platform Launch can trigger as many discrete actions as you want, and you can control the order in which these actions occur. For example, a single rule for an e-commerce Thank You page can trigger your analytics tools and third-party tags from a single rule. There is no need to create separate rules for each extension or tag.
You can add more event types. Multiple events are joined with an OR, so the rule’s conditions will be evaluated if any of the events are met.
Changes do not take effect until they are published.
Events with any conditions are the If portion of a rule.
If a specified event occurs, the conditions are evaluated, then the specified actions take place if needed.
Specify one or more events that must take place to trigger the rule. Multiple events are joined by an OR. Any of the specified events will trigger the rule.
Narrow the event by configuring any conditions that must be true for an event to trigger the rule. An exception is defined as a NOT condition. Multiple conditions are joined by an AND.
The events that are available depend on which extensions are installed. For information about the events in the Core extension, see Core extension event types.
DTM provided page load, event-based, and direct call rule types. Platform Launch just has rules and lets you define the event to trigger the rule. The different DTM options are still available in Platform Launch as event types.
Actions are the Then portion of a rule. They define what you want to happen when the rule runs. When an event is triggered, if conditions evaluate to true and exceptions evaluate to false, the actions are performed. You can drag and drop actions to order them as desired.
Create a rule by specifying what actions occur if a condition is met.
Open the Rules tab, then click Create New Rule.
Name the rule.
Click the Events Add icon.
Choose your extension and one of the event types available for that extension, then configure the settings for the event.
Available event types depend on the extension you’ve selected. Event settings will differ based on the event type. Some events don’t have any ettings that need to be configured.
Set the Order parameter, then click Keep Changes.
Default order for all rule components is 50. If you want one to run sooner, give it a number lower than 50.
Order of execution is order of numbers. 1 comes before 3. 3 comes before 10. 10 comes before 100, etc.
Rules that have the same order run in no particular order.
Rules are fired in order, but do not necessarily finish in the same order. If Rule A and Rule B share an event, and you assign order so that Rule A comes first, then if Rule A does something asynchronously, there’s no guarantee that Rule A finishes before Rule B starts.
If you want it to run later, give it a number higher than 50. For more information about ordering, see Rule ordering.
Click the Conditions Add icon, then choose a logic type, extension, condition type and configure the settings for your condition. Then click Keep Changes.
Available condition types depend on the extension you’ve selected. Condition settings will differ based on the condition type.
(Advanced) Timeout: This option is available when rule component sequencing is enabled on your property. This attribute defines the maximum amount of time allowed for the condition to run. If the timeout is reached, the condition fails and the remainder of the rule’s conditions and actions will be removed from the processing queue. The default is 2000ms.
You can add as many conditions as you’d like. Multiple conditions within the same rule are joined by AND.
Click the Actions Add icon, then choose your extension and one of the action types available for that extension, configure the settings for the action, then click Keep Changes.
Available action types depend on the extension you’ve selected. Action settings will differ based on the action type.
(Advanced) Wait to run next action: This option is available when rule component sequencing is enabled on your property. When checked, Platform Launch will not call the next action until this one is completed. When unchecked, the next action begins to execute immediately. The default is Checked.
(Advanced) Timeout: This option is available when rule component sequencing is enabled on your property. It defines the maximum amount of time allowed for the action to complete. If the timeout is reached, the action fails and any subsequent actions for this rule will be removed from the processing queue. The default is 2000ms.
Review your rule, then click Save Rule.
Later, when you publish, you’ll add this rule to a library and deploy it.
When creating or editing rules, you can save and build to your active library. This immediately saves your change to your library and executes a build. The status of the build is displayed.
Rule ordering allows you to control the order of execution for rules that share an event.
It is often important to have your rules fire in a specific order. Examples: (1) you have several rules that conditionally set Analytics variables and you need to make sure that the rule with Send Beacon goes last. (2) you have a rule that fires Target and another rule that fires Analytics and you want the Target rule to run first.
Ultimately, the responsibility for executing actions in order lie with the extension developer of the event type that you’re using. For Adobe extensions, Adobe makes sure this works properly. For 3rd-party extensions, Adobe provides guidance to extension developers to implement this properly, but it is up to them to do so.
Adobe highly recommends that you order your rules with positive numbers between 1 and 100 (default is 50). Simpler is better. Remember you have to maintain your order. However, Adobe recognizes there might be edge cases where that will feel limiting, so other numbers are allowed. Platform Launch supports numbers between +/- 2,147,483,648. You can also use about a dozen decimal places - but if you’re in a scenario where you think you need to do that, you should rethink some of the decisions you’ve made to get to where you are now.
You can use
document.write within your custom scripts regardless of the events configured for the rule.
Rule events and conditions are always bundled into the main Platform Launch library. Actions may be bundled in the main library or loaded late as sub-resources as needed. Whether the actions are bundled or not is determined by the rule’s event type.
These events need to be executed almost always (unless conditions evaluate to false), so for efficiency, they are bundled into the main library, the file referenced by your embed code.
document.write. If the rule has multiple custom scripts, they’re written in order.
document.writeis used to write the HTML to the document. If the rule has multiple custom scripts, they’re written in order.
Adobe cannot guarantee that any other rules will actually be triggered and that their action code will be needed. For this reason, the actions for all event types that are not listed above are not packaged into the main library. Instead, they are stored as sub-resources and referenced by the main library as needed.
The Platform Launch runtime environment’s behavior depends on whether Run rule components in sequence is on or off for your property.
If enabled, when an event is triggered at runtime, the rule’s conditions and actions are added to a processing queue–based on the order you have defined–and processed one at a time on a FIFO basis. Platform Launch waits for the completion of the component before moving onto the next one.
If a condition evaluates as false or reaches its defined timeout, that rule’s subsequent conditions and actions are removed from the queue.
If an action fails or reaches its defined timeout, that rule’s subsequent actions are removed from the queue.
With this setting enabled, all conditions and actions are executed asynchronously, even if you loaded the Platform Launch library synchronously.
If disabled, when an event is triggered at runtime, the rule’s conditions are immediately evaluated. Multiple conditions are evaluated in parallel.
If all conditions return true (and exceptions return false), the rule’s actions are immediately executed. The actions are called in order, but Platform Launch does not wait for one to complete before calling the next. If your actions are synchronous, they are still executed in order. If one or more actions are asynchronous, some actions will run in parallel.