This is a custom code placeholder.
Switch to Preview or publish the page
to see how your code works.
Double-click to edit
<!-- TikTok Pixel Code Start -->
<script>
!function (w, d, t) {
w.TiktokAnalyticsObject = t;
var ttq = w[t] = w[t] || [];
ttq.methods = [
"page", "track", "identify", "instances", "debug",
"on", "off", "once", "ready", "alias", "group",
"enableCookie", "disableCookie"
];
ttq.setAndDefer = function (obj, method) {
obj[method] = function () {
obj.push([method].concat(
Array.prototype.slice.call(arguments, 0)
));
};
};
for (var i = 0; i < ttq.methods.length; i++) {
ttq.setAndDefer(ttq, ttq.methods[i]);
}
ttq.instance = function (id) {
var instance = ttq._i[id] || [];
for (var n = 0; n < ttq.methods.length; n++) {
ttq.setAndDefer(instance, ttq.methods[n]);
}
return instance;
};
ttq.load = function (id, options) {
var url = "https://analytics.tiktok.com/i18n/pixel/events.js";
ttq._i = ttq._i || {};
ttq._i[id] = [];
ttq._i[id]._u = url;
ttq._t = ttq._t || {};
ttq._t[id] = +new Date();
ttq._o = ttq._o || {};
ttq._o[id] = options || {};
var script = d.createElement("script");
script.type = "text/javascript";
script.async = true;
script.src = url + "?sdkid=" + id + "&lib=" + t;
var firstScript = d.getElementsByTagName("script")[0];
firstScript.parentNode.insertBefore(script, firstScript);
};
ttq.load("DBLHV6RC77UENJ6BQO80");
ttq.page();
}(window, document, "ttq");
</script>
<!-- TikTok Pixel Code End -->