How To Enable Google Analytics Display Features

| Web Analytics | 6 seen

<p><span style="line-height: 1.538em;">Some time ago playing around with my Google Analytics reports, I noticed a tab called <strong>Demographics</strong>. In fact I have &nbsp;noticed this tab already in past though this time I decided to enable it (<em>or to find a way to enable</em>) and learn more about it - how it could help me in my blogging adventures.</span></p><p><img src="http://www.reinisfischer.com/sites/default/files/displayfeatures.png&qu…; alt="Google Analytics Display Features" title="Google Analytics Display Features" width="664" height="440"></p><p>This is the default screen on Demographics tab, in order to see real data, we must add a minor changes to our Google Analytics tracking code.</p><p>Here is what Google says about that:</p><h2>Demographics and Interest Reports</h2><p class="_GAq4b">The Demographics and Interest sections include Overview reports, along with new Age, Gender, and Interest Categories reports.</p><ul class="_GANAb"><li class="_GAko">They allow you to better understand who your users are.</li><li class="_GAko">You can segment the rest of your Analytics data by these same characteristics so you can understand how converting and non-converting users differ (and many other such comparisons).</li><li class="_GAko">These are the same demographics &amp; interest categories used to target ads on the Google Display Network. Use these insights about your users to refine your ad campaign strategies.</li><li class="_GAko">Not all of your users may have demographics associated with them, so these reports may only represent a subset of your users and may not be representative of your overall site composition.</li><li class="_GAko"><span class="_GAg ACTION-learnMoreAdwords TARGET-2580383">Learn more</span>&nbsp;about how Google determines user demographics.</li><li class="_GAko"><span class="_GAg ACTION-learnMoreAdwords TARGET-2497941">Learn more</span>&nbsp;about how Google determines user interest categories.</li><li class="_GAko">Before enabling Demographics and Interest Reports you may need to update your privacy policy according to&nbsp;<span class="_GAg ACTION-learnMoreAnalytics TARGET-2700409">this policy.</span></li></ul><div>&nbsp;</div><div><span>To implement Display Advertising features for Universal Analytics, insert the bold line into your existing tracking code between the&nbsp;</span><code>'create'</code><span>&nbsp;and&nbsp;</span><code>'send'</code><span>&nbsp;commands, as seen in this example:</span></div><pre><span><code>&lt;script&gt;<br>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){<br>(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),<br>m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)<br>})(window,document,'script','//www.google-analytics.com/analytics.js','ga&#039;);<br>ga('create', 'UA-XXXXXX-XX', 'example.com');</code><br><strong>ga('require', 'displayfeatures');</strong><br><code>ga('send', 'pageview');<br>&lt;/script&gt;</code></span></pre><div><span><br></span></div><div>If you are using Drupal and Google Analytics module for handling your task, you can add this <em>one line</em> under advanced settings tab, <a href="https://www.drupal.org/node/2283511#comment-9005355">read here more</a></div><blockquote><ul><li><span>Should be able to add this to the Configuration page: /admin/config/system/googleanalytics</span></li><li><span>under 'Advanced Settings', 'Custom Javascript Code'&nbsp;</span>section</li><li><span>add it to the text box for 'Code snippet (before)'</span></li></ul></blockquote><p><span><img src="http://www.reinisfischer.com/sites/default/files/drupalcustomcode.png&q…; alt="Drupal Custom Google Analytics Code" title="Drupal Custom Google Analytics Code" width="944" height="544"></span></p><p><em>Drupal Custom Google Analytics Code</em></p><p><span>This is what I got after collecting display data for several weeks for my blog:</span></p><p><span><img src="http://www.reinisfischer.com/sites/default/files/googledisplaydata.jpg&…; alt="Display Data" title="Display Data" width="768" height="372"></span></p><p><span>Turns out majority of my blog visitors are male (73.8%) age 25-34 (more than 38%). I must admit those are pretty interesting data for me to&nbsp;analyse&nbsp;more</span></p><p><span>Now - I'm more educated who actually visits my blog, I can segment them by gender and age. I would call this as one of the best Google Analyics features.</span></p><p><span>What are your thougts regarding to Google Analytics Display features, are you using them? Have them helped increase your online revenue? I'm eager to learn more, please feel free to drop a comment.</span></p><p><span>If you are using Google Analytics Dispay Features on your Drupal website, are they working correct?</span></p><p><span>As well; do you have any idea, why Google Analytics did counted just 44.72% of my visitors? Where is the rest?</span></p><p>Your comments are more than welcome!</p>