Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Harout Mardirossian

    (@harout)

    Okay, thank you very much for your time. Thanks for the help!

    Thread Starter Harout Mardirossian

    (@harout)

    So you do not allow any custom scripts in web pages.

    I have a few questions:
    Q1: So if I use wp_enqueue_scripts and add my JS code as a file, will the AMP detect and remove it anyway?
    Q2: Do you have a attribute that will be ignored by the script?

    Using your custom tags is not a solution for us. Today’s problem is with your plugin, tomorrow it may be with the different one and we can’t use everyone’s custom tags or code in our plugin. Our plugin will become a huge mess of solutions.

    Thread Starter Harout Mardirossian

    (@harout)

    Hi again. In short, we provide our clients with marketing tools and popups that can be used both in WordPress and on any other website by adding our embed code.
    The embed code popup maker generates is a custom <script> tag with a Javascript code inside which can be placed anywhere on the web page and optimized so as not to affect page performance.

    We constantly receive feedback from our users that our popups do not open on their WordPress websites.

    We found that the AMP plugin removes popup makers’ embed code from WordPress pages.

    It’s not a good practice every time ask a customer to check errors in AMP plugin, find our embed code and set them ‘Kept’, because on average there are 1200-1500 errors that your plugin detects in WordPress, and searching our embed code is kind a hard thing.

    I want to ask you a solution on how to avoid your plugins’ filtering, to keep our service functioning.

    [ Signature and email deleted ]

    • This reply was modified 4 years, 6 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)