PageSourceSearch

https://tldr.tech/twitter-pixel.js

js tldr.tech collected 2026-09-24 09:46:40 UTC 626 bytes, 20 lines download raw bytes

1const TWITTER_PIXEL_ID = document.currentScript.getAttribute('data-pixel-id');
2
3// <!-- Twitter conversion tracking base code -->
4function initializeTwitterPixel(e, t, n, s, u, a) {
5  e.twq ||
6    ((s = e.twq =
7      function () {
8        s.exe ? s.exe.apply(s, arguments) : s.queue.push(arguments);
9      }),
10    (s.version = '1.1'),
11    (s.queue = []),
12    (u = t.createElement(n)),
13    (u.async = !0),
14    (u.src = 'https://static.ads-twitter.com/uwt.js'),
15    (a = t.getElementsByTagName(n)[0]),
16    a.parentNode.insertBefore(u, a));
17  twq('init', TWITTER_PIXEL_ID);
18}
19
20initializeTwitterPixel(window, document, 'script');

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.