W3 Total Cache + Google Adsense

2 replies
  • SEO
  • |
I've installed and configured W3 Total Cache on a few of my WP sites. The sites load faster but the problem now is that the Google Ads are not showing for me the first time I load the website. I need to reload the page for the ads to appear and I'm worried that's what the rest of the visitors are seeing. Last thing I want to happen is getting banned from Google for messing with the ads.

Does anyone know what I need to check or un-check in the configuration area to get the Google ads to appear?

Currently, all I see is white space in the place where the ad should be. If I reload the page then the ads appear.

Any help would be appreciated!
#adsense #cache #google #total
  • Profile picture of the author yukon
    Banned
    I don't use W3 Total Cache but this might help you.

    [source]
    I then went to view the page source and everything was compressed - no linefeeds and minimal spacing. Aha! Then I remembered I implemented W3 Total Cache the other night! This plugin has the ability to "minify" javascript files among other things. I changed the settings under Minify for JavaScript to no longer remove linefeeds and viola! My Adsense came back.
    {{ DiscussionBoard.errors[8167669].message }}
  • Profile picture of the author Alcibiades
    I installed it yesterday, disabled for JS. Page speed is high, Adsense pageviews are way down.

    I'm not impressed.
    {{ DiscussionBoard.errors[8256247].message }}

Trending Topics