I am talking about this amp plugin in particular: https://wordpress.org/plugins/amp/

I manage to add googleanalytics works fine because it had documentation:

enter image description here

But how to add adwords code or whatever I need to add so the ads work on the site ?

    "vars": {
        "account": "ca-pub-XXXX"
    "triggers": {
        "trackPageview": {
            "on": "visible",
            "request": "pageview"

Maybe something like this ? any idea ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.