Add reddit pixel in header
This commit is contained in:
1 parent
fd7f95c1a5
commit
fe829442d1
2 files changed
+21
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<script>
|
||||
// @ts-nocheck
|
||||
!(function (w, d) {
|
||||
if (!w.rdt) {
|
||||
var p = (w.rdt = function () {
|
||||
p.sendEvent
|
||||
? p.sendEvent.apply(p, arguments)
|
||||
: p.callQueue.push(arguments);
|
||||
});
|
||||
p.callQueue = [];
|
||||
var t = d.createElement('script');
|
||||
(t.src = 'https://www.redditstatic.com/ads/pixel.js'), (t.async = !0);
|
||||
var s = d.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(t, s);
|
||||
}
|
||||
})(window, document);
|
||||
rdt('init', 'a2_ghq8846qpphp');
|
||||
rdt('track', 'PageVisit');
|
||||
</script>
|
||||
Reference in new issue
Block a user