New Relic PHP extension adds inline script tags on webpages. That's invalid for AMP pages.
How can I disable New Relic only for webpages with URL ending with "/amp".
Please help. Thanks.
New Relic PHP extension adds inline script tags on webpages. That's invalid for AMP pages.
How can I disable New Relic only for webpages with URL ending with "/amp".
Please help. Thanks.
Take a look at the New Relic PHP API method call newrelic_disable_autorum(). This will allow you to disable the Automatic insertion of the Javascript required for page load timing for hte transaction in which the call is made. Keep in mind it will eliminate data gathering when this call is made.