title: Show custom dimensions values in google analytics
body: <p>My goal is to have user email address in google analytics reports so I can build custom reports for client.
  For this, I added a custom dimensions "cdUserEmailAddress" under admin --> custom definitions --> custom dimensions
  I set it's scope to session.</p>
  
  <p>I set the following code in my page to add a test value but it does not add the value anywhere that I can find on google analytics dashboard.</p>
  
  <pre><code>&lt;script&gt;
  window.dataLayer = window.dataLayer || [];
  function gtag() { dataLayer.push(arguments); }
  gtag('js', new Date());
  dataLayer.push({
      'cdUserEmailAddress': 'test@test.com',
      'event': 'sessionUserLoggedIn'
  });
  gtag('config', 'UA-xxxx-x');
  ga('create', 'UA-xxxx-x', 'auto');
  ga('set', 'cdUserEmailAddress', 'test@test.com');
  ga('send', 'pageview');
  console.log('working 2');
  &lt;/script&gt;
  </code></pre>
  
  <p>This did not work.
  I then went to Google TagManager (since one of the articles I read suggested I need to set that up too) and added a user data element there.
  Pasted the auto generated code shown below but that did not help either.</p>
  
  <pre><code>&lt;!-- Google Tag Manager --&gt;
  &lt;script&gt;(function (w, d, s, l, i) {
      w[l] = w[l] || []; w[l].push({
          'gtm.start':
          new Date().getTime(), event: 'gtm.js'
      }); var f = d.getElementsByTagName(s)[0],
          j = d.createElement(s), dl = l != 'dataLayer' ? '&amp;l=' + l : ''; 
  j.async = true; j.src =
              'https://www.googletagmanager.com/gtm.js?id=' + i + dl; 
  f.parentNode.insertBefore(j, f);
  })(window, document, 'script', 'dataLayer', 'GTM-xxx');&lt;/script&gt;
  &lt;!-- End Google Tag Manager --&gt;
  </code></pre>
  
  <p>What am I missing?
  I looked everywhere for this test@test.com value ...by creating a custom report, under Behavior -> Site content --> AllPages...
  I find it no where.</p>
  
  <p>Please help
  Thanks</p>