Skip to content

Commit

Permalink
feat: Adding Plausible snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Nov 9, 2023
1 parent 330c929 commit 4c1d4ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/layouts/tpi.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@

<%= stylesheet_link_tag 'tpi' %>
<%= javascript_pack_tag 'tpi' %>

<% if Rails.env.production? %>
<script defer data-domain="transitionpathwayinitiative.org" src=https://plausible.io/js/script.js></script>
<% end %>
</head>
<body>
<%= render "layouts/tpi/fixed-navbar" %>
Expand Down

0 comments on commit 4c1d4ce

Please sign in to comment.