<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title><%= page_title %></title>
  <meta name="description" content="<%= page_description %>">

  <%= partial "partials/open_graph" %>
  <%= partial "partials/twitter_card" %>

  <%= stylesheet_link_tag "application" %>
</head>
<body<%= body_class %>>
  <%= yield %>

  <%#= javascript_include_tag "application" %>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title><%= page_title %></title>
  <meta name="description" content="<%= page_description %>">

  <%= partial "partials/open_graph" %>
  <%= partial "partials/twitter_card" %>

  <%= stylesheet_link_tag "application" %>
</head>
<body<%= body_class %>>
  <%= yield %>

  <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','https://www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-11122428-1', 'auto');
    ga('send', 'pageview');

  </script>
  <%#= javascript_include_tag "application" %>
</body>
</html>

Add Google Analytics tracking code
Add Google Analytics tracking code
