Skip to content

Commit

Permalink
perf: add defer for tianji script
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 27, 2023
1 parent 5274d2a commit 8d8ba6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/web/build/inject-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ appendScript(
);
// tianji
appendScript(
`<script async src="https://tianji.moonrailgun.com/tracker.js" data-website-id="clo1893di0001o65edzck6q6z"></script>`
`<script async defer src="https://tianji.moonrailgun.com/tracker.js" data-website-id="clo1893di0001o65edzck6q6z"></script>`
);

0 comments on commit 8d8ba6f

Please sign in to comment.