mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
4340f5bd17
commit
710e703867
2 changed files with 4 additions and 3 deletions
|
|
@ -164,8 +164,9 @@ export const onGetConfig = (isStart: boolean) => {
|
|||
if (!window.siyuan.config.system.disableGoogleAnalytics) {
|
||||
try {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
// @ts-ignore
|
||||
window.gtag = () => {window.dataLayer.push(arguments)};
|
||||
window.gtag = function (...args) {
|
||||
window.dataLayer.push(args);
|
||||
};
|
||||
window.gtag("js", new Date());
|
||||
window.gtag("config", "G-L7WEXVQCR9");
|
||||
const para = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue