PageSourceSearch

https://robiel.com/assets/js/utm.js?v=1.02

js robiel.com collected 2026-10-08 07:25:07 UTC 1,313 bytes, 31 lines download raw bytes

1var Divia2 = function () {};
2(Divia2.prototype.setCookie = function (e, r, i) {
3    var o = new Date();
4    o.setTime(o.getTime() + 24 * i * 60 * 60 * 1e3);
5    document.cookie = e + "=" + encodeURIComponent(r) + "; expires=" + o.toUTCString() + "; path=/";
6}),
7    (Divia2.prototype.getUtm = function (utm) {
8        var e = new URL(window.location.href).searchParams.get(utm);
9        return "" != e && null !== e ? e : "";
10    }),
11    (Divia2.prototype.keepUtm = function (cookie, param) {
12        var value = this.getUtm(param);
13        if (value !== "") {
14            this.setCookie(cookie, value, 7);
15        }
16    }),
17    (divia2 = new Divia2()),
18    divia2.keepUtm("utm_source", "utm_source"),
19    divia2.keepUtm("midia", "utm_source"),
20    divia2.keepUtm("divia_midia", "utm_source"),
21    divia2.keepUtm("utm_medium", "utm_medium"),
22    divia2.keepUtm("divia_medium", "utm_medium"),
23    divia2.keepUtm("utm_content", "utm_content"),
24    divia2.keepUtm("divia_ad", "utm_content"),
25    divia2.keepUtm("utm_term", "utm_term"),
26    divia2.keepUtm("keyword", "utm_term"),
27    divia2.keepUtm("divia_keyword", "utm_term"),
28    divia2.keepUtm("utm_campaign", "utm_campaign"),
29    divia2.keepUtm("divia_campaign", "utm_campaign"),
30    divia2.keepUtm("gclid", "gclid"),
31    divia2.keepUtm("divia_gclid", "gclid");

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.