For example, does the following mark-up...
dataLayer = [
{
'transactionId': 'placeholder-id',
'transactionAffiliation': 'placeholder-affiliation',
'transactionTotal': 'placeholder-total',
Work with analytics.js, or a Google Tag Manager configuration? Any resources which provide information about how necessary an upgrade to Universal Analytics' new data layer would be hugely useful.
Thanks.
The datalayer you have specified, although incomplete, does work for a Google Tag Manager implementation of standard ecommerce with Universal Analytics, but not enhanced ecommerce. You can refer to this resource for more information: https://support.google.com/tagmanager/answer/3002596
Note that the datalayer is not a feature of UA but is built into Google Tag Manager. So using the DL for analytics tracking does not require a UA implementation.