This article contains information on how to capture data in Listvar through
You can populate list variables using the XDM fields
Each array element contains a value object that contains each string. There is no need to provide a delimiter; it is automatically included using the value specified in the Report suite settings.
You can see the examples in the ‘list’ documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/page-vars/list.html?lang=en