1jQuery(document).ready(function($) { 2 3 /** 4 * Fathom Analytics Events Tracking 5 */ 6 7 // Eviivo Widget Opened 8 9 document.querySelectorAll('[data-booking-link="eviivo"]').forEach(item => { 10 item.addEventListener('click', event => { 11 fathom.trackGoal('1UU1RXRJ', 0); 12 }); 13 }); 14 15 // Food/Drink Menu Opened 16 17 document.querySelectorAll('[data-open^="linkedMenu_"]').forEach(item => { 18 item.addEventListener('click', event => { 19 fathom.trackGoal('8QHEFTDH', 0); 20 console.log('Tracked Menu Open'); 21 }); 22 }); 23 24 // Menu PDF Downloads 25 26 document.querySelectorAll('.pdf-menu').forEach(item => { 27 item.addEventListener('click', event => { 28 fathom.trackGoal('35SHSTXU', 0); 29 }); 30 }); 31 32 // Newsletter Signup 33 34 document.querySelectorAll('#mc-embedded-subscribe').forEach(item => { 35 item.addEventListener('click', event => { 36 fathom.trackGoal('5WDCHTDF', 0); 37 }); 38 }); 39 40 // OpenTable Widget Opened 41 42 document.querySelectorAll('[data-open="openTableWidget"]').forEach(item => { 43 item.addEventListener('click', event => { 44 fathom.trackGoal('E7O6SIEV', 0); 45 }); 46 }); 47 48 document.querySelectorAll('[data-button="openTable"]').forEach(item => { 49 item.addEventListener('click', event => { 50 fathom.trackGoal('E7O6SIEV', 0); 51 }); 52 }); 53 54});
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.