
if(location.pathname == '/') analytics.track('Home page', { nonInteraction: 1 });

analytics.trackLink($('#home-featured-artworks .grid-item'), 'Clicked homepage artwork');
analytics.trackLink($('.is-via-personalized'), 'Clicked personalized homepage artwork');
analytics.trackLink($('.is-via-featured'), 'Clicked featured homepage artwork');


$('.home-top-feature-link').click(function () {
	var href = $(this).find('.htfl-image-link').attr('href')
	var context_type = $(this).find('.htfl-details h3').text()
	analytics.track('Clicked homepage featured link', {
		featured_link_path: href, context_type
	})
})

@@ -387,17 +387,18 @@
 on () %7B%0A
-%09
+  
 var href
@@ -446,17 +446,18 @@
 'href')%0A
-%09
+  
 var cont
@@ -507,17 +507,18 @@
 .text()%0A
-%09
+  
 analytic
@@ -561,17 +561,18 @@
 ink', %7B%0A
-%09
+  
 %09feature
@@ -588,17 +588,31 @@
 th: href
-,
+%0A%09context_type:
  context
@@ -617,15 +617,16 @@
 xt_type%0A
-%09
+  
 %7D)%0A%7D)%0A

update tracking to feature links on the homepage