mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
FEATURE: add Google Analytics code to more user pages
This commit is contained in:
parent
66cf27a7e0
commit
05164d4cae
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
<div id='simple-container'>
|
<div id='simple-container'>
|
||||||
<span style="font-size: 16px; line-height: 24px;"><%= @message.html_safe %></span>
|
<span style="font-size: 16px; line-height: 24px;"><%= @message.html_safe %></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%- content_for(:no_ember_head) do %>
|
||||||
|
<%= render_google_universal_analytics_code %>
|
||||||
|
<%- end %>
|
||||||
|
|
||||||
|
<%= render_google_analytics_code %>
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
<%- content_for(:no_ember_head) do %>
|
<%- content_for(:no_ember_head) do %>
|
||||||
<%= script "ember_jquery" %>
|
<%= script "ember_jquery" %>
|
||||||
<%= script "vendor" %>
|
<%= script "vendor" %>
|
||||||
|
<%= render_google_universal_analytics_code %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
|
@ -39,3 +40,5 @@
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<%= render_google_analytics_code %>
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
<%- content_for(:no_ember_head) do %>
|
<%- content_for(:no_ember_head) do %>
|
||||||
<%= script "ember_jquery" %>
|
<%= script "ember_jquery" %>
|
||||||
|
<%= render_google_universal_analytics_code %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -63,3 +64,5 @@
|
||||||
|
|
||||||
$.ajax('<%= path "/users/confirm-email-token/#{params[:token]}" %>', {dataType: 'json'});
|
$.ajax('<%= path "/users/confirm-email-token/#{params[:token]}" %>', {dataType: 'json'});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<%= render_google_analytics_code %>
|
||||||
|
|
Loading…
Reference in a new issue