FEATURE: add Google Analytics code to more user pages
This commit is contained in:
parent
66cf27a7e0
commit
05164d4cae
|
@ -1,3 +1,9 @@
|
|||
<div id='simple-container'>
|
||||
<span style="font-size: 16px; line-height: 24px;"><%= @message.html_safe %></span>
|
||||
</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 %>
|
||||
<%= script "ember_jquery" %>
|
||||
<%= script "vendor" %>
|
||||
<%= render_google_universal_analytics_code %>
|
||||
<%- end %>
|
||||
|
||||
<script language="javascript">
|
||||
|
@ -39,3 +40,5 @@
|
|||
});
|
||||
})();
|
||||
</script>
|
||||
|
||||
<%= render_google_analytics_code %>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
<%- content_for(:no_ember_head) do %>
|
||||
<%= script "ember_jquery" %>
|
||||
<%= render_google_universal_analytics_code %>
|
||||
<%- end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -63,3 +64,5 @@
|
|||
|
||||
$.ajax('<%= path "/users/confirm-email-token/#{params[:token]}" %>', {dataType: 'json'});
|
||||
</script>
|
||||
|
||||
<%= render_google_analytics_code %>
|
||||
|
|
Loading…
Reference in New Issue