• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    Highlighted

    Custom javascript not allowed

    i have 4 domain on the vps server and i have disable godaddy analytics. but the javascript is still apering  the error on thetechtricks.com. i am unable to implement AMP please help me.

    1 ACCEPTED SOLUTION

    Accepted Solutions
    Highlighted
    Super User IV
    Super User IV
    Solution

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    1) I suggest disabling autoptimize as that could be caching something

    2) If still not working You'll need to reach out to google as they have something cached on their side then

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post

    11 REPLIES 11
    Highlighted
    Super User IV
    Super User IV

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    I tried to get to thetechtricks.com and I get a 500 error - I would check your error log as I'm thinking perhaps you have a PHP error somewhere

     

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Highlighted

    Re: Custom javascript not allowed

    please try again i m very depressed and i m unable to find any soluction. please help me

    Highlighted
    Super User IV
    Super User IV

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    Still getting the same thing - If you go into the file manager and look at the errorlog file this can at least point us in the direction of where your issue is.

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Highlighted

    Re: Custom javascript not allowed

    My website is loading perfectly. But in the Google search console i am still getting the same error. Javascript error in search console.

    Highlighted
    Super User IV
    Super User IV

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    Ok - I just tried a private window and the site loads ok now - I'm not seeing any javascript errors though - can you post a screen capture of the errors you are seeing

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Highlighted

    Re: Custom javascript not allowed

    Adeelabbas7196_0-1583252014548.png

    i am taking about this error although i have disable godaddy analytic

    Adeelabbas7196_1-1583252093580.png

    Thanks for reply

    Highlighted
    Super User IV
    Super User IV

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    Ok - Thank you for posting this - I didn't realize this was in the Google Search Console - I would suggest trying what is suggested on this page. https://josephkhan.me/custom-javascript-is-not-allowed-amp/ 

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Highlighted

    Re: Custom javascript not allowed

    thanks for sharing video. In my case JavaScript of godaddy is appearing in the search console.  Please help me to solve that problum.

    Highlighted
    Super User IV
    Super User IV

    Re: Custom javascript not allowed

    I would make sure that you clear any cash plug-ins that you have as I just checked on my side and when I did a few source on the page that code was not there
    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Highlighted

    Re: Custom javascript not allowed

    i have tried every thing but the issue remain.

    GoDaddy’s Broken Monitoring Script is still appearing. That caused issue and amp is not implemented on my site.

    i have also opt out but issue remain.

    Highlighted
    Super User IV
    Super User IV
    Solution

    Re: Custom javascript not allowed

    @Adeelabbas7196 

     

    1) I suggest disabling autoptimize as that could be caching something

    2) If still not working You'll need to reach out to google as they have something cached on their side then

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    View solution in original post