Looking at the Storefront of a vanilla Workarea app (no customizations or plugins) in production, there are exactly 3
script elements, 2 in the
head and 1 in the
The first in the head looks something like this:
You won't see this code anywhere in the application. It's injected into the page by the New Relic APM agent to capture and report analytics back to New Relic. This code is added at the middleware level and may vary based on your hosting arrangement.
script tag in the head looks something like this:
And the one in the body looks something like this:
If you take the time to scroll horizontally (or look below), you'll see the file names are:
Plugins can add their own assets to your app as well, so check out Appending to take control of that process.