PageSourceSearch

https://seranking.com/wp-content/se-common//js/buttons-analytic.js?v=3333

js seranking.com collected 2026-09-24 07:25:12 UTC 1,052 bytes, 33 lines download raw bytes

1(function() {
2    function init() {
3        var buttons = document.querySelectorAll('[data-analytic]');
4        if (!buttons.length) {
5            return;
6        }
7        
8        Array.from(buttons).forEach(function(button) {
9            button.addEventListener('click', function(event) {
10                if (button.classList.contains('hello-bar-legacy__close')) {
11                    event.stopPropagation();
12
13                }
14                const buttonLink = button.getAttribute('href') ?? button.getAttribute('data-link') ?? '';
15                dataLayer.push({
16                    'event': 'interaction',
17                    'location': button.dataset.location,
18                    'value': 'click',
19                    'link_url': buttonLink,
20                    'text': button.textContent.trim(),
21                });
22            });
23        });
24    }
25    
26    if (document.readyState !== 'loading') {
27        init();
28    } else {
29        document.addEventListener('DOMContentLoaded', function() {
30            init();
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.