PageSourceSearch

https://www.chuman.co.jp/common/js/gtm_virtualPV.js

js chuman.co.jp collected 2026-10-05 03:41:11 UTC 1,058 bytes, 30 lines download raw bytes

1 var path = window.location.pathname;
2 if(!path.match(/^\/form.*complete$/) && !path.match(/^\/form.*confirm$/)) {
3	dataLayer = [];
4	dataLayer.push({
5	  'trackpageview': path + 'gtm_input',
6	  'event': 'loadready'
7	});
8 }
9 if(!path.match(/^\/form.*complete$/) && path.match(/^\/form.*confirm$/)) {
10	  window.localStorage = window.localStorage || window.globalStorage[location.hostname];
11      window.localStorage.setItem('scrFlag', 0);
12      var scrFlag = parseInt(window.localStorage.getItem('scrFlag'));
13	  dataLayer = [];
14	  dataLayer.push({
15	  	'trackpageview': path + '/gtm_confirm',
16	  	'event': 'loadready'
17	  });
18 }
19 if(path.match(/^\/form.*complete$/) && !path.match(/^\/form.*confirm$/)) {
20	  window.localStorage = window.localStorage || window.globalStorage[location.hostname];
21      scrFlag = parseInt(window.localStorage.getItem('scrFlag')) + 1;
22      dataLayer = [];
23	  if(scrFlag > 0) {
24	  	 dataLayer.push({
25	  		'trackpageview': path + '/gtm_complete',
26		  	'event': 'loadready'
27		 });
28	  	 window.localStorage.removeItem('scrFlag');
29	  }
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.