PageSourceSearch

https://es.lorealaccess.com/assets/js/facebook-pixel/facebook-pixel-stub.js

js lorealaccess.com collected 2026-09-28 09:23:00 UTC 873 bytes, 19 lines download raw bytes

1/**
2 * Single source for trackMetaPixelEvent stub. Queues events until fbq is ready, then flushes.
3 * Referenced by App.razor (OpenSite) and by Docebo loader (facebook_pixel.js → PixelController + this file).
4 */
5window.trackMetaPixelEvent = window.trackMetaPixelEvent || function (n) {
6  window._fbqEventQueue = window._fbqEventQueue || [];
7  window._fbqEventQueue.push(n);
8  function flush() {
9    if (typeof window.fbq !== 'function' || !window._fbqEventQueue || !window._fbqEventQueue.length) return;
10    while (window._fbqEventQueue.length) window.fbq('track', window._fbqEventQueue.shift());
11  }
12  if (typeof window.fbq === 'function') { flush(); return; }
13  var attempts = 0;
14  var id = setInterval(function () {
15    attempts++;
16    if (typeof window.fbq === 'function') { clearInterval(id); flush(); }
17    else if (attempts >= 8) clearInterval(id);
18  }, 400);
19};

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.