feat: add gap scripts for production and staging (#40807)
* feat: set gap * feat: add gap script conditionally * feat: add 2.16.2 script * feat: add initial tests * feat: add dev and chinese gap scripts Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
7
client/static/misc/cap.js
Normal file
7
client/static/misc/cap.js
Normal file
@ -0,0 +1,7 @@
|
||||
var hmt = hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?5573716a80598952ad73aca7f896ef45";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
Reference in New Issue
Block a user