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

@@ -189,12 +189,4 @@
<%= tag.meta name: "og:site", content: Danbooru.config.app_name %>
<%= auto_discovery_link_tag(:atom, comments_url(:atom, search: { post_id: @post.id }), title: "Comments for post ##{@post.id}") %>
<script>
window._paq = window._paq || [];
window._paq.push(["setCustomVariable", 1, "rating", '<%= j @post.rating %>', "page"]);
window._paq.push(["setCustomVariable", 2, "fileSize", <%= @post.file_size.to_i / 100.kilobytes %>, "page"]);
window._paq.push(["setCustomVariable", 3, "sourceDomain", '<%= j @post.source_domain %>', "page"]);
window._paq.push(["setCustomVariable", 3, "blocked", <%= @post.levelblocked? %>, "page"]);
</script>
<% end %>