PageSourceSearch

https://www.listly.io/static/track/ga4_track_functions.05e002e4b045.js

js listly.io collected 2026-09-24 10:39:06 UTC 760 bytes, 33 lines download raw bytes

1// function trackEvent(eventName, eventCategory) {
2//     gtag('event', eventName, {
3//         'event_category': eventCategory,
4//     });
5// }
6
7function GAtrackEvent(eventName, eventCategory) {
8    gtag('event', eventName, {
9        'event_category': eventCategory,
10    });
11}
12
13function GAtrackClickAndNavigate(event, eventName) {
14    event.preventDefault();
15    const url = event.currentTarget.href;
16
17    gtag('event', eventName, {
18        'event_callback': function() {
19            window.location.href = url;
20        }
21    });
22}
23
24function GAtrackSubmit(event, eventName) {
25    event.preventDefault();
26    const form = event.currentTarget;
27
28    gtag('event', eventName, {
29        'event_callback': function() {
30            form.submit();
31        }
32    });
33}

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.