mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 10:43:38 +03:00
Include sentry meta in the data-* container
This commit is contained in:
parent
4a393aa8e5
commit
129fc86891
@ -15,6 +15,9 @@
|
|||||||
<div
|
<div
|
||||||
id="stats-react-container"
|
id="stats-react-container"
|
||||||
style="overflow-anchor: none;"
|
style="overflow-anchor: none;"
|
||||||
|
data-sentry-dsn="<%= @sentry_dsn %>",
|
||||||
|
data-sentry-release="<%= @sentry_release %>",
|
||||||
|
data-environment="<%= @environment %>",
|
||||||
data-domain="<%= @site.domain %>"
|
data-domain="<%= @site.domain %>"
|
||||||
data-offset="<%= Timex.Timezone.total_offset(Timex.Timezone.get(@site.timezone)) %>"
|
data-offset="<%= Timex.Timezone.total_offset(Timex.Timezone.get(@site.timezone)) %>"
|
||||||
data-has-goals="<%= @has_goals %>"
|
data-has-goals="<%= @has_goals %>"
|
||||||
@ -52,6 +55,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.instrumentation.js") %>"></script>
|
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.sentry.js") %>"></script>
|
||||||
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.js") %>"></script>
|
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.js") %>"></script>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user