Great question — answering as the UphillTech team:
You are probably looking for the affiliation property of a transaction. You can find it referenced in the docs here: https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#action-data With regards to pushing it into the dataLayer (by this I assume you are using Google Tag Manager), you should add it as a key value pair in the actionField of the ecommerce.purchase object that you push into the dataLayer. Here is the sample code that Google Docs provide that shows the use of affiliation property: <script> // Send transaction data with a pageview if available // when the page loads. Otherwise, use an event when the transaction // data becomes available....
Full answer by dmpg_tom: https://stackoverflow.stackexchange.com/a/33317836 (CC BY-SA 3.0).
Need it done for your business? UphillTech.