analytics.js
function enhancedEcommerceProductAction(track, action, data) {
  enhancedEcommerceTrackProduct(track);
  window.ga('ec:setAction', action, data || {});
}
function enhancedEcommerceProductAction(track, action, data) {
  enhancedEcommerceTrackProduct(track);
  window.ga('ec:setAction', action, data || {});
}
function enhancedEcommerceProductAction ( track , action , data ) { enhancedEcommerceTrackProduct ( track ) ; window . ga ( 'ec:setAction' , action , data || { } ) ; }
Set `action` on `track` with `data`.

@api private
@param {Track} track
@param {String} action
@param {Object} data
Set action on track with data .