Gregg Tavares 5 years ago
parent
commit
aea1664b94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/templates/analytics.template

+ 1 - 1
build/templates/analytics.template

@@ -6,7 +6,7 @@
 
   function addScript(src, fn) {
     const script = document.createElement('script');
-    const firstScript = document.getElementsByTag('script')[0];
+    const firstScript = document.getElementsByTagName('script')[0];
     script.async = true;
     script.defer = true;
     if (fn) {