• Resolved gm1980

    (@gaurav1980)


    Hi Guys,

    Can you please let me know how to remove New Relic Browser monitoring script that is being added to AMP pages.

    There are some validation issues related to custom JavaScript.

    Thanks

    • This topic was modified 3 years, 1 month ago by gm1980.
    • This topic was modified 3 years, 1 month ago by gm1980.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter gm1980

    (@gaurav1980)

    Can you please let me know if some code can be added to remove New Relic Browser monitoring script.

    Thanks

    Plugin Support Milind More

    (@milindmore22)

    Hello @gaurav1980

    AMP plugins disable newrelic browser agents before the output buffer starts that prevents loading NERUM scripts, Also you must add browser monitoring’s AMP agent to your AMP pages.

    The code that disables it, Please read an article on Monitor AMP pages with New Relic Browser

    Thread Starter gm1980

    (@gaurav1980)

    Thanks Milind.

    But i am still seeing the code being added to AMP pages.

    Thread Starter gm1980

    (@gaurav1980)

    Milind, if you see the page source for the above url you will see that the script is being added to AMP pages.

    Plugin Support Milind More

    (@milindmore22)

    Hello @gaurav1980

    Your site URL seems to be got removed from the support topic, possibly marked as spam, can you please reshare your site URL again so we can check validation issue on your site.

    Thread Starter gm1980

    (@gaurav1980)

    Sure Milind, this is the url again.

    Thread Starter gm1980

    (@gaurav1980)

    Milind, i think they are not allowing me to send the url.

    Let me know email or other way to send the url.

    Thread Starter gm1980

    (@gaurav1980)

    Milind, google amp validator link.

    • This reply was modified 3 years, 1 month ago by gm1980.
    Thread Starter gm1980

    (@gaurav1980)

    Milind, please see the last link i have sent.

    Thanks

    Plugin Support Milind More

    (@milindmore22)

    Hello @gaurav1980

    Can you please let us know how you have added newrelic code to your site is this manually inserted javascript? we will recommend contacting your hosting provider and setup newrelic properly.

    You can learn more about adding newrelic monitor script in this guide

    Thread Starter gm1980

    (@gaurav1980)

    Milind, i am not sure about this.

    I already have contacted server support and they said they have not added this.

    Thread Starter gm1980

    (@gaurav1980)

    Milind, is there a way we can add code in AMP plugin that disables this from loading.

    Thanks

    Plugin Support Milind More

    (@milindmore22)

    Hello @gaurav1980

    As I explained before AMP plugin already has code to disable newrelic before output buffer starts the function newrelic_disable_autorum() disables it on AMP endpoint, so we don’t need to add code specifically to disable it.

    It will be good to know how it has been inserted so we might be able to provide a solution.

    Thread Starter gm1980

    (@gaurav1980)

    Sure Milind thanks let me check again with server support as how this is being added.

    Thanks

    Plugin Support Milind More

    (@milindmore22)

    Hello @gaurav1980

    Just wanted to check if you hear anything from Server support.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘remove new relic browser monitoring script’ is closed to new replies.