<% unless Rails.env.test? %>
  <%= javascript_include_tag "https://www.googletagmanager.com/gtag/js?id=G-08J9WTTHMP", async: true %>
<% end %>

<%= javascript_tag nonce: true do %>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-08J9WTTHMP');
<% end %>

<% unless Rails.env.test? %>
  <%= javascript_include_tag "https://www.googletagmanager.com/gtag/js?id=G-08J9WTTHMP", async: true %>
<% end %>

<%= javascript_tag nonce: true do %>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-08J9WTTHMP');
  gtag('config', 'UA-189329674-2');
<% end %>

Add GA Universal tracking ID
Add GA Universal tracking ID
