views: remove old matomo analytics code.

This is no longer used and shouldn't have been hardcoded anyway.
This commit is contained in:
evazion
2020-01-26 13:03:57 -06:00
parent 1a3ce17bf0
commit e10bb0aab1
4 changed files with 0 additions and 40 deletions

View File

@@ -8,14 +8,3 @@
<%= stripe_button("Upgrade Gold to Platinum", UserUpgrade.upgrade_price, user) %>
<% end %>
</div>
<% content_for(:html_header) do %>
<script>
$(function() {
$(".stripe").submit(function(e) {
window._paq = window._paq || [];
window._paq.push(['trackEvent', 'accounts', 'clickedAccountUpgrade']);
});
});
</script>
<% end %>

View File

@@ -119,12 +119,3 @@
<% end %>
</div>
</div>
<% content_for(:html_header) do %>
<script>
$(function() {
window._paq = window._paq || [];
window._paq.push(['trackEvent', 'accounts', 'viewAccountUpgrade']);
});
</script>
<% end %>