mirror of
https://github.com/Infisical/infisical.git
synced 2026-05-02 03:02:03 -04:00
Adding Unify custom script to Mintlify Docs
This commit is contained in:
21
docs/unify.js
Normal file
21
docs/unify.js
Normal file
@@ -0,0 +1,21 @@
|
||||
!function() {
|
||||
var e = ["identify", "page", "startAutoPage", "stopAutoPage", "startAutoIdentify", "stopAutoIdentify"];
|
||||
|
||||
function t(o) {
|
||||
return Object.assign([], e.reduce(function(r, n) {
|
||||
return r[n] = function() {
|
||||
return o.push([n, [].slice.call(arguments)]), o
|
||||
}, r
|
||||
}, {}))
|
||||
}
|
||||
|
||||
window.unify || (window.unify = t(window.unify));
|
||||
window.unifyBrowser || (window.unifyBrowser = t(window.unifyBrowser));
|
||||
|
||||
var n = document.createElement("script");
|
||||
n.async = !0;
|
||||
n.setAttribute("src", "https://tag.unifyintent.com/v1/URbJ4p7g2b1huniGxT8HcA/script.js");
|
||||
n.setAttribute("data-api-key", "wk_YbNMAb89_ErhtGc2t7wWokhRTmuKFcL7UE2NwWgfd");
|
||||
n.setAttribute("id", "unifytag");
|
||||
(document.body || document.head).appendChild(n);
|
||||
}();
|
||||
Reference in New Issue
Block a user