PageSourceSearch

https://onlystory.co.jp/service/wp-content/themes/onlystory-service/js/gaClientId.js?ver=1778551272

js onlystory.co.jp collected 2026-09-24 19:01:00 UTC 1,069 bytes, 30 lines download raw bytes

1var clientId;
2_get1stCookie = function (a) {
3  for (var d = document.cookie.split("; "), b = 0; b < d.length; b++) {
4    var c = d[b].split("=");
5    if (c[0] === a && c[1]) return (c[0] === "_gcid") ? c[1] : d[b];
6  }
7  return null;
8}
9_getCookie = function (cname) {
10  if (_get1stCookie(cname) !== null) {
11    clientId = _get1stCookie(cname);
12  } else if (localStorage.getItem(cname) !== null) {
13    clientId = localStorage.getItem(cname);
14  } else {
15    clientId = "undefined";
16  }
17  return clientId;
18}
19if (document.getElementById('ga-client-id') != null) {
20  document.getElementById('ga-client-id').value = _getCookie("_gcid");
21}
22if (document.getElementById('initialTrafficSource') != null) {
23  document.getElementById('initialTrafficSource').value = _getCookie("initialTrafficSource");
24}
25if (document.getElementById('gcl_aw') != null) {
26  document.getElementById('gcl_aw').value = _getCookie("_gcl_aw");
27}
28if (document.getElementById('_timestamp') != null) {
29  document.getElementById('_timestamp').value = _getCookie("_timestamp");
30}

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.