mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
PostHog support (#313)
This commit is contained in:
@@ -27,5 +27,9 @@
|
||||
<link rel="apple-touch-icon" href="/logo-pwa.png">
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="/logo-pwa.png">
|
||||
|
||||
<% if Rails.env.production? && (posthog_config = Rails.configuration.x.posthog).try(:api_key).present? %>
|
||||
<%= render "shared/posthog", posthog_api_key: posthog_config.api_key, posthog_host: posthog_config.host %>
|
||||
<% end %>
|
||||
|
||||
<%= yield :head %>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user