1(function (Drupal, drupalSettings) { 2 'use strict'; 3 Drupal.behaviors.santeSnappixel = { 4 tags: function (snappixelId) { 5 if (snappixelId !== undefined && snappixelId !== '') { 6 let currentUrl = window.location.href; 7 8 let urls = [ 9 '/carte-des-lieux-de-soins', 10 '/endometriose' 11 ]; 12 13 if (urls.some(url => currentUrl.indexOf(url) !== -1)) { 14 window.snaptr('track', 'PAGE_VIEW'); 15 return true; 16 } 17 } 18 return false; 19 } 20 } 21})(Drupal, drupalSettings);
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.