I am able to send basic event to ga using angulartics2 eventtrack as follows,
this.angulartics2.eventTrack.next({ action: 'myAction', properties: { category: 'myCategory', label: 'mylabel', value: 'myvalue' }})
If I pass ecommerce object to the same eventTrack, the ecommerce data is not sent.
this.angulartics2.eventTrack.next({ action: 'myAction', properties: { category: 'myCategory', label: 'mylabel', value: 'myvalue',
ecommerce: {
'detail': {
'products': 'AnalyticsObject.Products'
}
}
}
});
The data sent to ga is, data sent to ga seen in ga debugger
Can somebody help? Thanks in advance.