Skip to content

Commit 9f53d34

Browse files
author
Jove Zhong
committed
try a new tracking vendor
1 parent 63da9b0 commit 9f53d34

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const config = {
2222
projectName: "docs", // Usually your repo name.
2323
scripts: [
2424
"/hotjar.js",
25-
// "/ai.js",
2625
{ src: "https://data.timeplus.com/p.js", async: true },
2726
{
2827
// This script triggers page() on every page change. (URL Encoded)
2928
src: "data:,let%20prevUrl%20%3D%20undefined%3B%0AsetInterval%28%28%29%20%3D%3E%20%7B%0A%20%20const%20currUrl%20%3D%20window.location.href%3B%0A%20%20if%20%28currUrl%20%21%3D%3D%20prevUrl%29%20%7B%0A%20%20%20%20%2F%2F%20URL%20changed%0A%20%20%20%20prevUrl%20%3D%20currUrl%3B%0A%20%20%20%20if%20%28window.jitsu%29%20%7B%0A%20%20%20%20%20%20window.jitsu.page%28%29%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%2C%201000%29%3B",
3029
},
3130
"/koala.js",
31+
"reo.js",
3232
],
3333
plugins: ["docusaurus-plugin-hubspot"],
3434

static/ai.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

static/reo.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
!(function () {
2+
var e, t, n;
3+
((e = "42f495c8c5244dd"),
4+
(t = function () {
5+
Reo.init({ clientID: e });
6+
}),
7+
((n = document.createElement("script")).src =
8+
"https://static.reo.dev/" + e + "/reo.js"),
9+
(n.defer = !0),
10+
(n.onload = t),
11+
document.head.appendChild(n));
12+
})();

0 commit comments

Comments
 (0)