PageSourceSearch

https://www.samsungfund.com/assets/log/tracking.js

js samsungfund.com collected 2026-09-24 10:02:03 UTC 1,802 bytes, 57 lines download raw bytes

1function __INIT_GA_EVENT() {
2    window.addEventListener('click', (e) => {
3        const target = e.target;
4        if (target.dataset.gaLabel && target.classList.contains('__ga-inited') == false) {
5            let gaLabel = target.dataset.gaLabel;
6            if (gaLabel) {
7                __SEND_GA_EVENT(gaLabel);
8            }
9        } else {
10            const gaEl = target.closest('[data-ga-label]');
11            if (gaEl) {
12                if (gaEl.dataset.gaLabel && gaEl.classList.contains('__ga-inited') == false) {
13                    let gaLabel = gaEl.dataset.gaLabel;
14                    if (gaLabel) {
15                        __SEND_GA_EVENT(gaLabel);
16                    }
17                }
18            }
19        }
20
21
22
23    })
24
25
26    document.querySelectorAll('[data-ga-label]').forEach(item => {
27        item.classList.add('__ga-inited');
28        item.addEventListener('click', (e) => {
29            let gaLabel = item.dataset.gaLabel;
30            if (gaLabel) {
31                __SEND_GA_EVENT(gaLabel);
32            }
33        })
34    })
35}
36
37function __SEND_GA_EVENT(label, value) {
38    if (label && label != '') {
39        const event_category = (siteLang ? siteLang?.toLowerCase() + '_' : '') + (siteDomain ? siteDomain?.toLowerCase() : 'samsungfund');
40
41        const data = {
42            'event_category': event_category,
43            'event_label': label,
44        }
45        if (value && value != '') {
46            data['value'] = value;
47        }
48        console.info("-------SEND GA EVENT---------")
49        console.info('event', 'click', data)
50        console.info('-----------------------------')
51        if (gtag) {
52            gtag('event', 'click', data)
53        }
54    } else {
55        console.info("NO GA LABEL!!!");
56    }
57}

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.