Skip to content

Commit 673cd81

Browse files
committed
chore: attempt alternative method of adding analytics script
1 parent 13f77b1 commit 673cd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_static/analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ analyticsScript.dataset["track-errors"] = true;
88
analyticsScript.async = true;
99
analyticsScript.defer = true;
1010

11-
document.head.appendChild(analyticsScript);
11+
document.getElementsByTagName('head')[0].appendChild(analyticsScript);

0 commit comments

Comments
 (0)