If you have google analytics embedded on your page, the widget will publish events/pageviews that occur within it to your analytics account–including ecommerce transactions. The majority of clickable/actionable elements in the widget have some sort of pageview/event attched to them.
If you wish to integrate a custom analytics engine, you can easily do so by subscribing to the
onEvent function. The relevant keys to subscribe on are detailed below–