Skip to main content
A widget is a single saved AftersellQL query rendered as a visualization on a report. A report is simply a grid of widgets.
A “widget” here means a widget on a Report. It is not the same as the shopper-facing checkout widgets or post-purchase widgets, which are upsell offers shown to your customers.

Adding a widget

There are two ways to add a widget to a report:
  • Drag an existing widget from the Widgets sidebar. While editing a report (click Edit report — see Manage reports), drag an already-created widget from the Widgets sidebar onto the canvas.
  • Click Add widget from the report. From the report’s main view, click Add widget to build a new query in the Explorer and add it to the report. Once saved, your widget will be added directly to the Report canvas.

Visualizations

Depending on the query’s shape, a widget renders as one of:
  • Scorecard — a single headline number, for queries with no breakdown.
  • Line chart — a trend over time.
  • Bar chart — a comparison across a dimension.
  • Table — rows of values, for detailed or multi-dimension queries.
The Explorer recommends a default visualization for each query, and the widget uses it.

Arranging widgets

In edit mode you can drag widgets to reorder them and resize them on the grid. When you are done, click Save to keep your layout, or Cancel to discard your changes.

Deleting a widget

You can permanently delete a saved widget from the Explorer. Deleting a widget also removes it from every report it appears on. To delete a widget:
  1. Open the Explorer in your Aftersell admin.
  2. Load the widget you want to delete by selecting it from the widget list.
  3. Click Delete in the Explorer title bar.
  4. Confirm the deletion in the dialog that appears.
The widget is permanently removed and any report cards that referenced it are automatically cleaned up.
The Delete button is only shown for widgets you created. Global template widgets are read-only and cannot be deleted.

Need help?

If you have questions about widgets, reach out to the customer support team.