PageSourceSearch

https://theelders.org/modules/custom/load_tracking_codes/js/gtm_tracking.js

js theelders.org collected 2026-10-02 02:55:05 UTC 847 bytes, 25 lines download raw bytes

1(function ($, Drupal) {
2  Drupal.behaviors.gtmTracking = {
3    attach: function (context, settings) {
4      if (typeof Drupal.eu_cookie_compliance !== 'undefined'
5        && typeof Drupal.eu_cookie_compliance.hasAgreed === 'function'
6        && Drupal.eu_cookie_compliance.hasAgreed()) {
7        (function(w,d,s,l,i){
8          w[l] = w[l] || [];
9          w[l].push({
10            'gtm.start': new Date().getTime(),
11            event: 'gtm.js'
12          });
13
14          var f = d.getElementsByTagName(s)[0],
15            j = d.createElement(s),
16            dl = l !== 'dataLayer' ? '&l=' + l : '';
17
18          j.async = true;
19          j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
20          f.parentNode.insertBefore(j, f);
21        })(window, document, 'script', 'dataLayer', 'GTM-TLH93C9');
22      }
23    }
24  };
25})(jQuery, Drupal);

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.