(function() {
  'use strict';

  // DOM events
  var $document = $(document);

  $document
    .on('click', '.analytics-artwork-show-phone-number', function() {
      analytics.track("Clicked 'Show phone number'", $(this).data());
    })
    .on('click', '.analytics-artwork-download', function() {
      analytics.track('Downloaded lo-res image');
    })
    .on('click', '.analytics-artwork-share', function() {
      analytics.track('Viewed sharing_is_caring form');
    })
    .on('click', '.analytics-artwork-acquire', function() {
      analytics.track('Clicked "Buy" on the artwork page');
    })
    .on('click', '.analytics-artwork-partner-link', function() {
      analytics.track('Clicked partner name link in detail sidebar');
    })
    .on('click', '.analytics-artwork-contact-seller', function() {
      var context = $(this).data();
      analytics.track('Clicked "Contact Gallery"', {
        artwork_id: context.artwork_id,
        context_type: context.context_type
      });
    });

  analyticsHooks
    .on('artwork:zoom', function() {
      analytics.track('Clicked to zoom in on artwork');
    })
    .on('artwork:view-in-room', function(){
      analytics.track("Entered 'View In Room'");
    })
    .on('artwork:contact-gallery', function(context) {
      analytics.track("Clicked 'Contact Gallery'", {
        artwork_id: context.artwork_id,
        context_type: context.context_type
      });
    })
    .on('artwork:contact-specialist', function() {
      analytics.track("Clicked 'Contact Artsy Specialist'");
    })
    .on('artwork:confirm-registration', function() {
      analytics.track("Showed 'Confirm registration on artwork page'", { nonInteraction: 1 });
    })
    .on('save:save-artwork', function(context) {
      // context.label.split(':')[1] === 'artwork_id'
    })
    .on('save:remove-artwork', function(context) {
      // context.label.split(':')[1] === 'artwork_id'
    })
    .on('artwork:view-in-room', function() {
      //
    });
})();


@@ -1700,230 +1700,8 @@
  %7D)%0A
-    .on('save:save-artwork', function(context) %7B%0A      // context.label.split(':')%5B1%5D === 'artwork_id'%0A    %7D)%0A    .on('save:remove-artwork', function(context) %7B%0A      // context.label.split(':')%5B1%5D === 'artwork_id'%0A    %7D)%0A
     

remove duplicate event handler