src/js/tracker.js
/*
		 * Add click handlers to anchor and AREA elements, except those to be ignored
		 */
Add click handlers to anchor and AREA elements, except those to be ignored
Add click handlers to anchor and AREA elements except those to be ignored
function addClickListeners() {
			var linkElements = documentAlias.links,
				i;
			for (i = 0; i < linkElements.length; i++) {
				if (linkTrackingFilter(linkElements[i]) && !linkElements[i][trackerId]) {
					addClickListener(linkElements[i]);
					linkElements[i][trackerId] = true;
				}
			}
		}
function addClickListeners ( ) { var linkElements = documentAlias . links , i ; for ( i = 0 ; i < linkElements . length ; i ++ ) { if ( linkTrackingFilter ( linkElements [ i ] ) && ! linkElements [ i ] [ trackerId ] ) { addClickListener ( linkElements [ i ] ) ; linkElements [ i ] [ trackerId ] = true ; } } }
Add click handlers to anchor and AREA elements, except those to be ignored
Add click handlers to anchor and AREA elements except those to be ignored
// Add a listener to link elements which pass the filter and aren't already tracked