This is basic example, executing script ater various events.
Please check the Dev Console's network tab to inspect the events.
A event will fire when the application first loads.
A event will fire every time the dojo/router module fires. Click one of the buttons below:
A event will fire every time an element triggers dojo/topic. Click one of the buttons below:
Nominated events will collect additional data about the checkout/transaction.