• Resolved KemikalElite

    (@kemikalelite)


    I am using Amazon Native Ads in my posts (javascript based) and I cannot load the product ads using any modern browser.

    I have tried opening the post in Firefox as well as Chromium and Chromium based Edge.
    I have tried disabling all of my plugins and tracking protection features.
    I’ve tried rebooting the computer.
    I’ve tried loading the page on 3 different devices including mobile.

    I’ve disabled all my WordPress plugins except Ad Inserter.
    I’ve disabled anything releated to caching in WordPress.
    I’ve bypassed CloudFlare caching by placing my site in development mode.

    I have followed Amazon’s official guide for placing ads in WordPress.
    Link to the official guide: https://affiliate-program.amazon.com/help/topic/t405

    The only situation I can get the ads to load normally is when using Internet Explorer 11.

    However, I cannot get the ads to load on a modern browser like Firefox or Chrome.

    I can private message my debugging log if required. Debug mode shows a javascript error even though I have followed Amazon’s instructions exactly.

    Also I aware Amazon is currently having an issue this week generating new ads from their site. However according to Amazon Discussion Boards, this only affects generating new ad code, and not existing ads.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    the code is properly inserted and it works on my test site.
    However, you have javascript errors on your page which may prevent the code from showing ads.

    The first one is caused by the ad code:
    https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US

    The second one seems to be caused by a script of your theme:
    https://ultimatephoneguide.com/wp-content/themes/wp-forge/js/theme-functions.js?ver=6.5.3.1

    Try to fix this one and then we’ll check again.

    Thread Starter KemikalElite

    (@kemikalelite)

    EDIT: I found the cause of the issue. It appears to be caused by CloudFlare’s rocket loader feature.

    If anyone uses CloudFlare Rocket Loader and has issues with ad code, there is a support article on how to add an ignore tag to the ad code so rocket loader will ignore the ad code but keep the rocket loader enable on the rest of the site.

    https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-

    • This reply was modified 3 years, 11 months ago by KemikalElite.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Amazon Native Ads not visible on modern browsers’ is closed to new replies.