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