FEATURE: add Google Analytics code to more user pages

This commit is contained in:
Arpit Jalan 2016-04-02 01:29:08 +05:30
parent 66cf27a7e0
commit 05164d4cae
3 changed files with 12 additions and 0 deletions

View File

@ -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 %>

View File

@ -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 %>

View File

@ -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 %>