Skip to content

Analytics built-in

The analytics built-in pushes selected configurator events to a browser data layer.

Configure

js
{
  id: 'analytics',
  enabled: true,
  required: false,
  options: {
    dataLayerName: 'YOUR_DATA_LAYER',
  },
}
OptionTypeDefaultPurpose
dataLayerNamestringdataLayerName of the array created or reused on window.

If the named value does not exist, the plugin creates an array. If it already contains an array, the plugin appends to it.

Emitted data-layer events

Data-layer eventConfigurator source
icon_visualizer_readyapp:ready
icon_visualizer_route_changedroute:changed
icon_visualizer_wheel_viewedwheel:viewed
icon_visualizer_rfq_submittedrfq:submitted

Each push uses this shape:

js
{
  event: 'icon_visualizer_wheel_viewed',
  iconVisualizer: EVENT_PAYLOAD,
}

Consult the events reference for payload fields. Review RFQ data-handling requirements before forwarding events to a third-party analytics provider.

Build a custom analytics plugin when you need different event names, field selection, or consent behavior.

Icon Visualizer developer documentation