const trackView = function trackView(conf) {
  if (window.utag) {
    window.utag.view(conf);
    return true;
  }

  // eslint-disable-next-line no-console
  console.warn('Utag not loaded. View not tracked.');
  return false;
};
export default trackView;