PageSourceSearch

https://myaccount.nottinghamcity.gov.uk/libraries/js/ga.js

js nottinghamcity.gov.uk collected 2026-10-02 02:50:59 UTC 807 bytes, 25 lines download raw bytes

1/**
2 * This script fetch the council related GA_ID from apibroker.domains table and executes the
3 * Google Analytics Async Script if GA_ID is not null.
4 */
5FS.API.get("/domain/" + window.location.host)
6.bind(this)
7.then(function(data){
8    this.setItem('council', data);
9    return data;
10})
11.get('ga_id')
12.then(function(id) {
13    if(!id) {
14        return false;
15    }
16    
17    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
18    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
19    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
20    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
21
22    ga('set', 'anonymizeIp', true);
23    ga('create', id, 'auto');
24    ga('send', 'pageview');
25});

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.