views: remove old matomo analytics code.
This is no longer used and shouldn't have been hardcoded anyway.
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user