add opt out for mixpanel tracking

This commit is contained in:
Albert Yi
2018-10-22 10:30:45 -07:00
parent c1f70b9a02
commit 5097babfaa
8 changed files with 62 additions and 3 deletions

View File

@@ -120,3 +120,11 @@
<% content_for(:page_title) do %>
Upgrade - <%= Danbooru.config.app_name %>
<% end %>
<% content_for(:html_header) do %>
<script>
$(function() {
window.Danbooru.mixpanelEvent("Account Upgrade");
});
</script>
<% end %>