Support » Plugin: Call Now Button » AMP Invalid Attribute: “onclick”

Viewing 1 replies (of 1 total)
  • Plugin Author Jerry G. Rietveld


    Hi Wsan1,

    Thanks for your message! The button itself does not reply on JS to function. So there’s no impact on the button if AMP removes it. The onlick event is only there for Google Analytics to track button clicks.

    With regards to your pop-up question, the button fires a call even which will be executed by a phone app and not the browser. So the browser can present a pop-up to check if you really want to do this. This behaviour varies between browsers but nothing that I can influence from the plugin.

    Hope this helps.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.