I haw the two following variables:
'ecommerce': { 'checkout': { 'actionField': {'step': 4}, 'products': [{
'name': 'Spirit Pack', 'id': '12345', 'price': '55', }] } }
'ecommerce': { 'purchase': { 'actionField': {'step': 4}, 'products': [{
'name': 'Spirit Pack', 'id': '12345', 'price': '55', }] } }
How can I return the array named products
when the second level of layer object is different.