fix: move NewRelic testing script even higher (#675)
Per their docs, this really should be the first script. And we were hitting some cloudflare scripts being inserted ahead of us. This might fix that.
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<title>Course | <%= process.env.SITE_NAME %></title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" href="<%=htmlWebpackPlugin.options.FAVICON_URL%>" type="image/x-icon" />
|
||||
|
||||
<% if (process.env.NEW_RELIC_ACCOUNT_ID) { %>
|
||||
<!-- NewRelic agent 1209 -->
|
||||
<script>
|
||||
@@ -16,6 +11,11 @@
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
<title>Course | <%= process.env.SITE_NAME %></title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" href="<%=htmlWebpackPlugin.options.FAVICON_URL%>" type="image/x-icon" />
|
||||
|
||||
<% if (htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID) { %>
|
||||
<script src="https://www.edx.org/optimizelyjs/<%= htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID %>.js"></script>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user