diff --git a/amptheme.theme b/amptheme.theme
index f3b3dc1..bbbda3c 100644
--- a/amptheme.theme
+++ b/amptheme.theme
@@ -12,6 +12,10 @@ function amptheme_preprocess_html(&$variables) {
       $value[0]['#attributes']['content'] = 'width=device-width,minimum-scale=1,initial-scale=1';
       $variables['page']['#attached']['html_head'][$key] = $value;
     }
+    // Remove any other scripts that are being attached to the page.
+    if ($value[0]['#tag'] == 'script') {
+      unset($variables['page']['#attached']['html_head'][$key]);
+    }
   }

   // Remove the toolbar from page_top
