PageSourceSearch

https://teemdrop.com/static/js/tiktok-pixel.js

js teemdrop.com collected 2026-10-03 21:38:58 UTC 1,481 bytes, 54 lines download raw bytes

1;(function (w, d, t) {
2  w.TiktokAnalyticsObject = t
3  var ttq = (w[t] = w[t] || [])
4  ttq.methods = [
5    'page',
6    'track',
7    'identify',
8    'instances',
9    'debug',
10    'on',
11    'off',
12    'once',
13    'ready',
14    'alias',
15    'group',
16    'enableCookie',
17    'disableCookie',
18    'holdConsent',
19    'revokeConsent',
20    'grantConsent',
21  ]
22  ttq.setAndDefer = function (target, method) {
23    target[method] = function () {
24      target.push([method].concat(Array.prototype.slice.call(arguments, 0)))
25    }
26  }
27  for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(ttq, ttq.methods[i])
28  ttq.instance = function (pixelId) {
29    var instance = ttq._i[pixelId] || []
30    for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(instance, ttq.methods[i])
31    return instance
32  }
33  ttq.load = function (pixelId, options) {
34    var source = 'https://analytics.tiktok.com/i18n/pixel/events.js'
35    ttq._i = ttq._i || {}
36    ttq._i[pixelId] = []
37    ttq._i[pixelId]._u = source
38    ttq._t = ttq._t || {}
39    ttq._t[pixelId] = +new Date()
40    ttq._o = ttq._o || {}
41    ttq._o[pixelId] = options || {}
42
43    var script = d.createElement('script')
44    script.type = 'text/javascript'
45    script.async = true
46    script.src = source + '?sdkid=' + pixelId + '&lib=' + t
47
48    var firstScript = d.getElementsByTagName('script')[0]
49    firstScript.parentNode.insertBefore(script, firstScript)
50  }
51
52  ttq.load('D36FKGRC77U411S6CD00')
53  ttq.page()
54})(window, document, 'ttq')

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.