PageSourceSearch

https://www.sante.fr/modules/custom/sante_tracking/assets/js/snappixel_handler.js

js sante.fr collected 2026-10-01 08:36:14 UTC 543 bytes, 21 lines download raw bytes

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.