PageSourceSearch

https://www.worldtranslationcenter.com/tools/js/track-demos.js

js worldtranslationcenter.com collected 2026-10-02 14:10:58 UTC 508 bytes, 23 lines download raw bytes

1var trackedDemos = [];
2
3const trackPlayDemo = (sid) => {
4	if (!trackedDemos.includes(sid)) {
5		ga('send', {
6			hitType: 'event',
7			eventCategory: 'audio',
8			eventAction:'play',
9			eventLabel:'Play Certified Demos',
10			eventValue:sid
11		});
12		trackedDemos.push(sid);	
13	}
14};
15
16$('.hap-icon-play').on('click',function() {
17	var clicked = $(this);
18	var cont = clicked.parents('.wtc-certified-player');
19	var contid = cont.attr('id');
20	var id = parseInt(contid.replace('wtcholder',''),10);
21	trackPlayDemo(id);
22});
23

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.