## Widget migration guide
1. The name of the file in widget url should be `great-widget.min.js` instead of `cool-widget.js`.
```html
// [!code --]
// [!code ++]
```
1. The `` tag should have an attribute `widget-container`, because the widget wants to be inserted into the element with this attribute.
```html
// [!code word:widget-container]
```
1. All the buttons should have a new attribute `checkStat=true`, so widget can collect the click statistics.
```html
```
1. There is an advanced mode for the widget which allows user to see weather, clicks, and even the current date by Maya calendar. To enable these options customer should insert additional code into the page. Pay attention that the code should be at the bottom of the page right before the closing tag! Also, do not forget to point that there is a block where we catch unexpected advanced mode errors!
```html advanced widget