1/** 2 * Fire Tiktok pixel events 3 * 4 * @param {string} event_name 5 * @param {string} content_category 6 * @param {string} content_name 7 */ 8var SendTiktokEvent = function(event_name, content_category = null, content_name = null) { 9 ttq.track(event_name, { 10 content_category: content_category, 11 content_name: content_name 12 }); 13}; 14 15/** 16 * Event listeners for 17 * livewire 18 */ 19window.addEventListener('send-tiktok-event', event => { 20 SendTiktokEvent(event.detail.event_name, event.detail.content_category, event.detail.content_name); 21});
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.