remove index/show mixpanel events
This commit is contained in:
@@ -78,11 +78,4 @@
|
||||
<% end %>
|
||||
<%= missed_post_search_count_js %>
|
||||
<%= render "posts/partials/index/seo_meta_tags" %>
|
||||
<script>
|
||||
$(function() {
|
||||
window.Danbooru.mixpanelEvent("Post Search", {
|
||||
"page": <%= raw params[:page].to_json %>,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<% end %>
|
||||
|
||||
@@ -192,17 +192,6 @@
|
||||
<%= 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>
|
||||
$(function() {
|
||||
window.Danbooru.mixpanelEvent("Post View", {
|
||||
"rating": '<%= @post.rating %>',
|
||||
"size": <%= @post.file_size %>,
|
||||
"fav_count": <%= @post.fav_count %>,
|
||||
"created_at": <%= raw @post.created_at.strftime('%F %T').to_json %>
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
Reference in New Issue
Block a user