I'm trying to use Google Analytic's custom dimensions to do some a/b testing, but nothing shows up in the reports. Here's what I did:
Created a custom dimension: Index: 1 Scope: Session Active: checked
Then I modified my GA code to look like this:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-9541894-2', 'auto');
ga('set', 'dimension1', 'a' );
ga('send', 'pageview');
</script>
When I turn on Analytics inspector, I see that it is sending my custom dimension value. But I never see anything in the reporting. I even waited a day to see if it took time to process. Any idea what's wrong? Thanks!
