PageSourceSearch

https://chiroro.tokyo/wp/wp-content/plugins/wp-associate-post-r2/js/click-tracking.js

js chiroro.tokyo collected 2026-10-06 18:24:40 UTC 569 bytes, 16 lines download raw bytes

1/* global gtag, ga, _gaq */
2(function( $ ) {
3	$( 'a[data-click-tracking]' ).click(function() {
4		var trackingLabel = $( this ).attr( 'data-click-tracking' );
5		if ( typeof gtag !== 'undefined' ) {
6			gtag('event', 'click', {
7				'event_category': 'WP Associate POST',
8				'event_label': trackingLabel
9			});
10		} else if ( typeof ga !== 'undefined' ) {
11			ga( 'send', 'event', 'WP Associate POST', 'click', trackingLabel );
12		} else if ( typeof _gaq !== 'undefined' ) {
13			_gaq.push([ '_trackEvent', 'WP Associate POST', 'click', trackingLabel ]);
14		}
15	});
16})( jQuery );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.