Skip to content

Commit

Permalink
Merge branch 'release-0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
pazolka committed Nov 29, 2022
2 parents 4107e26 + ce47d78 commit f768c4c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.1.3

* Added hotjar script

### 0.1.2

**Update the about page:**
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ group :development, :test do
gem 'spring'
gem 'letter_opener'
gem 'pry'
gem 'web-console', '~> 2.2'
end

group :development do
Expand All @@ -40,6 +39,7 @@ group :development do
gem 'capistrano-rails', '~> 1.1', require: false
gem 'capistrano-bundler', '~> 1.1', require: false
gem 'capistrano-passenger', '~> 0.1.1', require: false
gem 'web-console', '~> 2.2'
end

group :test do
Expand Down
14 changes: 14 additions & 0 deletions app/views/layouts/client.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@
}
<% end %>
</style>

<% if Rails.env.production? %>
<!-- Hotjar Tracking Code for ODV - Ocean Data Viewer -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3261398,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<% end %>
</head>

<body class="<%= yield :body_class %>">
Expand Down

0 comments on commit f768c4c

Please sign in to comment.