PageSourceSearch

http://www.domarch.info/scripts/pixel.js

js domarch.info collected 2026-10-09 03:37:05 UTC 1,245 bytes, 45 lines download raw bytes

1(function() {
2    var methods = {}; 
3    var data = {};
4    var isAds = false;
5
6    methods.addUtms = function() {
7        var url_string = window.location.href;
8        var url = new URL(url_string);
9        
10        data.utm_campaign = url.searchParams.get("utm_campaign");
11        data.utm_source = url.searchParams.get("utm_source");
12        data.utm_medium = url.searchParams.get("utm_medium");
13        
14        if (url.searchParams.get("marketing_ads_unique") === 'true') {
15            isAds = true;
16        }
17    };
18
19    methods.toQueryString = function() {
20        var s = [];
21        Object.keys(data).forEach(function(key) {
22            s.push(key + "=" + encodeURIComponent(data[key]));
23        });
24        return s.join("&");
25    };
26
27    methods.send = function() {
28        if (!isAds) {
29            return;
30        }
31        var pixel = document.createElement("img");
32        var queryParams = methods.toQueryString();
33        pixel.style.marginLeft = '-999px';
34        pixel.style.position = 'fixed';
35        pixel.src="https://radario.ru/tracking-pixel?" + queryParams;
36        document.body.appendChild(pixel);
37    };
38
39    var execute = function() {
40        methods.addUtms();
41        methods.send();
42    };
43
44    execute();
45})();

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.