Skip to content

Commit 1cfd7f3

Browse files
author
Tom Clark
committed
Shift around categories/actions/etc. for google analytics
1 parent 9803fa7 commit 1cfd7f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascripts/sidebar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ $(function() {
8484
return filter.name === target.name && filter.value === target.value;
8585
});
8686
if(existing_filter) {
87-
_gaq.push(['_trackEvent', 'filters', 'remove', existing_filter.name, filters.size]);
87+
_gaq.push(['_trackEvent', 'filters - remove', existing_filter.name, existing_filter.value, filters.size]);
8888
filters = _(filters).without(existing_filter);
8989
} else {
90-
_gaq.push(['_trackEvent', 'filters', 'apply', target.name, filters.size]);
90+
_gaq.push(['_trackEvent', 'filters - apply', target.name, target.value, filters.size]);
9191
filters = _(filters).reject(function(filter) { return filter.name === target.name && filter.value === target.value; });
9292
filters.push(target);
9393
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy