Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @machbou7,

    Yes, just use the data-phast-no-defer attribute on the <SCRIPT> for AdSense.

    <script data-phast-no-defer> ... </script>

    That will exclude this script from processing by PhastPress.

    I hope that resolves the problem. And if PhastPress works well for you, I’d really appreciate it if you left a review. ??

    –Albert

    Thread Starter machbou7

    (@machbou7)

    Thanks for your reply
    This code does not affect amp pages
    Or affect the laws of Google to change the original code ?
    https://support.google.com/adsense/answer/1354736?hl=eng

    Thread Starter machbou7

    (@machbou7)

    I have installed the plugin a few days and have noticed a big change in website speed, but in contrast I have noticed a decrease in the number of clicks on ads. Is this due to load time fo ads or some other reason?

    • This reply was modified 4 years, 6 months ago by machbou7.
    Plugin Author Albert Peschar

    (@kiboit)

    Hi @machbou7,

    Adding the data-phast-no-defer does not change the behaviour of the code, so it should be permitted. Also, PhastPress does not run on AMP pages, so there everything will be the same and data-phast-no-defer will be ignored.

    It is possible that you get less clicks because the ads load later because PhastPress delays scripts. Try out the data-phast-no-defer for a week or so, and you’ll see if it makes a difference.

    –Albert

    Thread Starter machbou7

    (@machbou7)

    Thanks for your reply

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘About adsense code’ is closed to new replies.