Lab · Launch rule simulator

Watch rules
evaluate.

A working model of how Launch decides which rule fires. Pick an event, set a few page attributes, watch the rule engine walk every condition top-to-bottom and produce the AppMeasurement variables that would land on the wire.

How to use this lab

The left panel shows three rules, defined the way you'd configure them in Launch's UI. The right panel shows the evaluation log when you fire the chosen event. Change the event type, the URL, the page section — the log re-runs instantly. Match Launch's behaviour: rules don't fire unless their event and all their conditions are true.

Configured rules

Rule 01 · Page View order: 50

When (event) Library Loaded (Page Top)
If (conditions) (none — always fires)
Then (actions) • Set pageName = %Page Name%
• Set channel = %Section%
• Send Beacon (page view)

Rule 02 · PDP enrichment order: 50

When (event) Library Loaded (Page Top)
If (conditions) • URL path starts with /products/
Then (actions) • Set eVar4 = %Product SKU%
• Set prop4 = %Category%
• Set events = "prodView"

Rule 03 · Add to Cart order: 50

When (event) Click — selector matches button[data-cta="add-to-cart"]
If (conditions) • URL path starts with /products/
Then (actions) • linkTrackVars = "events,products,eVar4"
• linkTrackEvents = "scAdd"
• events = "scAdd"
• Send Beacon (link click 'o')

Rule 04 · Purchase order: 50

When (event) Direct Call — identifier = "purchase"
If (conditions) (none)
Then (actions) • events = "purchase:" + %Order ID%
• purchaseID = %Order ID%
• Send Beacon (page view)
Evaluation log

What the simulator models

What it does not model

Treat this as a teaching model — it captures the decision logic but not the operational details. For the real engine, build a property in Adobe's Tags UI and read the _satellite.setDebug(true) log; it walks the same steps with the real data.