Migration › Build the Send Event rule
Build the Send Event rule
s.t() for page views and s.tl() for clicks, each firing its own beacon. The Web SDK replaces both with a single command, sendEvent, that carries the payload you just assembled to the Edge. In Launch this becomes a rule with two actions: one that fills your variable object, one that sends it. The entire art of this step is making those two happen in that order, because Launch will cheerfully fire the send before the variables are set if you let it.XDM - Global (replaces "Adobe Analytics, Set Variables").Leaving rule Order at defaults, so a Send Event fires before the variables populate. The payload arrives missing half its data. Fix: variable rules low Order (1), terminal Send Event high Order (50); enable "Run rule components in sequence."
Any custom code referencing s.eVar1 / s.events throws once AppMeasurement is removed. Rewrite it to populate XDM - Global and dispatch via Send Event.
One sendEvent in the Debugger of type pageViews, carrying all your variables in a single payload.