Support » Plugin: Ad Injection » Ads not appearing in IE – Ad-Injection and Swift theme

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author reviewmylife

    (@reviewmylife)

    Hi marcomancosu, have you checked the source code of your page to make sure they are there when using IE?

    Plugin Author reviewmylife

    (@reviewmylife)

    Deleted – posted comment on wrong post!

    Thanks reviewmylife.
    The code seems to be there.
    This is how it appears in FF:

    <div style='clear:both;margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;'><center><script type="text/rocketscript"><!--
    google_ad_client = "ca-pub-XXXXXXXXXXXXXXXXXXXX";
    /* Leaderboard */
    google_ad_slot = "XXXXXXXXXX";
    google_ad_width = 728;
    google_ad_height = 90;
    //-->
    </script>
    <script type="text/rocketscript" data-rocketsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></center></div>

    while in IE the code is
    <div style='clear:both;margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;'><center><script type="text/rocketscript">google_ad_client="ca-pub-XXXXXXXXXXXXXXXXXXXX";google_ad_slot="XXXXXXXXXX";google_ad_width=728;google_ad_height=90;</script> <script type="text/rocketscript" data-rocketsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></center></div>

    sorry I forgot the backticks. This is the code in IE:

    <div style='clear:both;margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;'><center><script type="text/rocketscript">google_ad_client="ca-pub-XXXXXXXXXXXXXXXXXXXX";google_ad_slot="XXXXXXXXXX";google_ad_width=728;google_ad_height=90;</script> <script type="text/rocketscript" data-rocketsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></center></div>

    (I don’t know why the backticks don’t work)

    Plugin Author reviewmylife

    (@reviewmylife)

    Hi marcomancosu, I’d suggest you try inserting the adverts without Ad Injection. See if you get the same problem. If you do get the same problem see if you can see any JavaScript errors/warnings listed by IE. Also those ‘rocketscript’ lines aren’t standard JavaScript – perhaps you have some script optimiser on your site which is breaking things.

    Thanks for your help! The problem was the rocketloader feature in CloudFlare, an optimization feature that was supposed to automatically asynchronously load all JavaScript resources (that’s where the rocketscript lines come from). After disabling that feature in the CloudFlare settings the ads are now properly displayed in IE. Rocketloader created a few more issues in IE (issues with top navigation menù, and Google Adsense for Search not working) but now everything is fine. Leaving this notes as they might be useful to somebody else.
    Thanks again!

    Plugin Author reviewmylife

    (@reviewmylife)

    Thanks for letting us know 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Ads not appearing in IE – Ad-Injection and Swift theme’ is closed to new replies.