Sha256: 8dd92dd1cd08d70b4ff701bd4cdd9d91f24f3fe83f86902eb06e9e0c15a09738
Contents?: true
Size: 844 Bytes
Versions: 2
Compression:
Stored size: 844 Bytes
Contents
<% if ENV['GOOGLE_ANALYTICS_UA'].present? %> <script data-turbolinks-eval="false"> (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', '<%= ENV["GOOGLE_ANALYTICS_UA"] %>', 'auto'); </script> <script> // Enable 'Demographics and interest reports' in your analytics settings // ga('require', 'displayfeatures'); // Enable 'Use enhanced link attribution' in your analytics settings // ga('require', 'linkid', 'linkid.js'); ga('set', 'location', location.href.split('#')[0]); ga('send', 'pageview', { 'title': document.title }); </script> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems