Skip to content

Configuration Reference

This reference lists every setting exposed in Settings > Extensions > Advanced Analytics Dashboard, the database entities the plugin owns, and the ACL permissions that control access. The setting descriptions below are generated directly from the plugin's config.xml; to update a description, edit config.xml and re-run the extractor.

Plugin settings

General settings

SettingTypeDefaultDescription
maxChartsPerAnalytic — Maximum charts per analyticint20
hideDashboardSection — Hide Analytics section on dashboardboolfalseIf enabled, the pinned charts section is hidden from the Shopware dashboard. You can still access reports from the main menu.
overviewReportId — Overview reportentity select (ssd_analytic)(none)The report displayed as the Analytics overview. Excluded from the report list.

Note on maxChartsPerAnalytic: No help text is currently defined in config.xml. The setting caps how many charts a single report may contain, preventing excessively large report pages.

Entities

ssd_analytic — Report

Represents a named collection of charts with a configurable grid layout.

ColumnTypeNotes
idbinary UUIDPrimary key
namestring (translated)Required. The report's display name.
columnsintGrid column count for the report view (1–4). Default: 2.
layoutJSONChart ordering and per-chart column spans ({ chartOrder: [], chartSpans: {} }).
filtersJSONReport-level filter set. Reserved for a future dashboard-filters feature; not wired to the UI in this version.
is_systemboolMarks system-seeded records (e.g. the default Overview report). System reports are excluded from the deletable list.
created_at / updated_atdatetimeManaged by Shopware.

Translation table (ssd_analytic_translation):

ColumnTypeNotes
namestringRequired. Report name in the given language.

Associations:

RelationTargetViaNotes
Many-to-manyssd_analytics_chartssd_analytic_chart (mapping table)Cascade delete on report removal.

ssd_analytics_chart — Chart

Stores a single chart's full configuration: data source, metric, filters, visual type, and layout hints.

ColumnTypeNotes
idbinary UUIDPrimary key
titlestring (translated)Required. Chart display name.
descriptionstring (translated)Optional. Shown as a subtitle on the chart card.
chart_typestringOne of: line, bar, pie, donut, number, table.
data_sourcestringOne of: order, customer, product, line_item.
metricstringOne of: count, sum, avg.
metric_fieldstring, nullableFor sum/avg — the field being aggregated (e.g. amount_total, quantity).
time_granularitystringBucketing unit: day, week, month, quarter, year. Default: day.
filtersJSONArray of filter objects applied to the query.
breakdownstring, nullableOptional single-property breakdown (e.g. sales_channel_id, state_id).
date_range_typestringPreset identifier (e.g. last_30d, this_month, custom). Default: last_30d.
date_range_start / date_range_enddatetime, nullableUsed when date_range_type is custom.
compare_previousboolWhen true, the query also fetches the equivalent previous period for delta display. Default: false.
configJSONAdditional ApexCharts config overrides.
position_x / position_y / width / heightintReserved; not used in the current layout engine. Per-chart column spans are stored in ssd_analytic.layout.chartSpans.
pinned_to_dashboardboolWhether the chart appears in the Shopware dashboard section. Default: false.
dashboard_sort_orderint, nullableDisplay order in the dashboard pinned-charts grid.
created_at / updated_atdatetimeManaged by Shopware.

Translation table (ssd_analytics_chart_translation):

ColumnTypeNotes
titlestringRequired. Chart name in the given language.
descriptionstringOptional.

Associations:

RelationTargetViaNotes
Many-to-manyssd_analyticssd_analytic_chart (mapping table)Cascade delete on chart removal.

ssd_analytic_chart — Mapping table

Joins reports to charts with sort order.

ColumnTypeNotes
analytic_idbinary UUID (FK)References ssd_analytic.id.
chart_idbinary UUID (FK)References ssd_analytics_chart.id.
sort_orderintDisplay order within the report.
created_atdatetime

ACL permissions

The plugin registers its own ACL resource ssd_analytic. Assign these roles to admin users in Settings > System > Permissions.

RoleKeyGrants
Viewerssd_analytic.viewerRead reports and charts; read plugin system config.
Editorssd_analytic.editorUpdate (edit) existing reports and charts; update system config.
Creatorssd_analytic.creatorCreate new reports and charts. Requires Viewer + Editor.
Deleterssd_analytic.deleterDelete reports and charts. Requires Viewer.

Users without at least the Viewer role will not see the Analytics menu item.

API routes

RouteMethodRequired permissionPurpose
/api/ssd-analytics/queryPOSTssd_analytic:readExecute a chart query. Returns data, dateRange, previousData, previousDateRange, availableBreakdowns, initialFilters.
/api/ssd-analytics/data-sourcesGETssd_analytic:readReturn available data sources with their metrics, filterable properties, breakdown options, and initial filters.

Your Vision. Signed, Sealed, Delivered.