PageSourceSearch

https://ciaoankit.github.io/js/gtag.js

js ciaoankit.github.io collected 2026-10-03 08:47:56 UTC 1,198 bytes, 32 lines download raw bytes

1/* This function will load script and call the callback once the script has loaded */
2function loadScriptAsync(scriptSrc, callback) {
3    if (typeof callback !== 'function') {
4        throw new Error('In gtag.js: Not a valid callback for async script load.');
5    }
6    var script = document.createElement('script');
7    script.onload = callback;
8    script.src = scriptSrc;
9    document.head.appendChild(script);
10}
11
12/* This is the part where you call the above defined function and "call back" your code which gets executed after the script has loaded */
13loadScriptAsync('https://www.googletagmanager.com/gtag/js?id=UA-87653100-1', function(){
14    
vendor: 140 bytes, lines 14-18
14window.dataLayer = window.dataLayer || [];
15    function gtag(){dataLayer.push(arguments);}
16    gtag('js', new Date());
17
18    gtag('config', '
18UA-87653100-1
vendor: 30 bytes, line 18
18', { 'anonymize_ip': true });
19})
20
21
22/*
23  <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 66 bytes, lines 23-24
23
24  <script async src="https://www.googletagmanager.com/gtag/js?id=
24UA-87653100-1
vendor: 14 bytes, lines 24-25
24"></script>
25  
25<script>
26    
vendor: 140 bytes, lines 26-30
26window.dataLayer = window.dataLayer || [];
27    function gtag(){dataLayer.push(arguments);}
28    gtag('js', new Date());
29
30    gtag('config', '
30UA-87653100-1
vendor: 32 bytes, lines 30-31
30', { 'anonymize_ip': true });
31  
31</script>
32*/

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.