mirror of
https://github.com/plausible/analytics.git
synced 2024-12-20 08:01:48 +03:00
7dbbc8ba22
* Use site id instead of hostname for events * Use site id in domain status check * Revert change to tracking module * Catch more places where link generation needed updating * Rename site_id to domain * Drop hostname index from events
12 lines
789 B
Elixir
12 lines
789 B
Elixir
<div class="container pb-32" data-site-domain="<%= @site.domain %>">
|
|
<%= if @offer_email_report do %>
|
|
<div class="text-center bg-blue-lighter text-blue-darkest text-sm font-bold px-4 w-full rounded transition" style="top: 91px" role="alert">
|
|
<%= link("Click here to enable weekly email reports →", to: "/#{URI.encode_www_form(@site.domain)}/settings#email-reports", class: "py-2 block") %>
|
|
</div>
|
|
<% end %>
|
|
<div class="pt-12"></div>
|
|
<div id="stats-react-container" data-domain="<%= @site.domain %>" data-offset="<%= Timex.Timezone.total_offset(Timex.Timezone.get(@site.timezone)) %>" data-has-goals="<%= @has_goals %>"></div>
|
|
<div id="modal_root"></div>
|
|
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/dashboard.js") %>"></script>
|
|
</div>
|