You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This disables the New Relic APM agent from inserting its script in the head. This is needed to prevent AMP validation errors. It should probably be part of the AMP plugin itself since New Relic is pretty common. Adding support will remove one more thing that a user will have to do to set up AMP on their site.
I've had to throw in an
mu-plugin
on a couple AMP plugin deployments for sites that have New Relic running:This disables the New Relic APM agent from inserting its script in the head. This is needed to prevent AMP validation errors. It should probably be part of the AMP plugin itself since New Relic is pretty common. Adding support will remove one more thing that a user will have to do to set up AMP on their site.
For more, see https://docs.newrelic.com/docs/browser/new-relic-browser/troubleshooting/google-amp-validator-fails-due-3rd-party-script
We should also then see what we can do to add
amp-analytics
support for New Relic per https://docs.newrelic.com/docs/browser/new-relic-browser/installation/monitor-amp-pages-new-relic-browserThe text was updated successfully, but these errors were encountered: