Get Widget Stats
get_widget_statsThe Analytics of the user's widgets, as the Analytics page shows it (paid plans): views, clicks and visitors per day, the sites and countries that show the widgets, the devices, and the widgets with the most views. For one widget: the posts or reviews that visitors click most, and the Shoppable product clicks. Analytics counts Pro widgets and review widgets. visitors is the sum of each day's visitors. from and to: the first and the last day of the range. counted_from: null when every day of the range has counts; else {date, reason}, the first day with counts, and why the days before it have none (reason "counting": counting started that day; "widget": the widget was made that day). With days 365, each point of daily is a week (date: its first day), and its days field gives the number of days in it: the oldest week can have fewer than 7.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | The last 7, 30 or 90 days, today included (30 when not given), or 365: the last 52 full weeks (364 days), one point a week. | |
| widget_id | No | One widget's id (the id in list_widgets). Leave it out for all the widgets. |