• Hi,

    I have installed the Autoptimize plugin to speed up my website and use JS optimizing feature.

    But when i try to add amazon native shopping ads, i can’t see the ads.

    Tried several methods but later i found that, after disabling the JS optimizing, ads are working as normal.

    How can i solve this problem? I want my amazon ads to be shown while optimizing the JS with autoptimize.

    Thanks

    https://www.ads-software.com/plugins/autoptimize/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Goossens

    (@futtta)

    exclude the amazon ads-code from optimizatoin, have a look at the FAQ for info on how to do that.

    hope this clarifies,
    frank

    Thread Starter dijitalportal

    (@dijitalportal)

    Thanks for the fast reply.

    I tried nooptimize tag but it didn’t work.

    What should i do?

    Plugin Author Frank Goossens

    (@futtta)

    can you share your URL?

    Thread Starter dijitalportal

    (@dijitalportal)

    here is the code i have:

    <script type=”text/javascript”>
    amzn_assoc_placement = “adunit0”;
    amzn_assoc_enable_interest_ads = “true”;
    amzn_assoc_tracking_id = ” xxxx “;
    amzn_assoc_ad_mode = “auto”;
    amzn_assoc_ad_type = “smart”;
    amzn_assoc_marketplace = “amazon”;
    amzn_assoc_region = “US”;
    amzn_assoc_emphasize_categories = “3760911”;
    amzn_assoc_linkid = “xxxx “;
    amzn_assoc_fallback_mode = {“type”:”search”,”value”:”skin care”};
    amzn_assoc_default_category = “All”;
    </script>
    <script src=”//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US”></script>

    Thread Starter dijitalportal

    (@dijitalportal)

    I get the same error for my all sites.

    Plugin Author Frank Goossens

    (@futtta)

    well, two possibilities;
    * noptimize-tag (i.e. <!--noptimize--> before your first line of code and <!--/noptimize--> after the last one
    * add amzn_assoc and amazon-adsystem to the comma-separated JS optimization exclusion list

    either should work ??

    Thread Starter dijitalportal

    (@dijitalportal)

    thanks i will try ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Autoptimize not working with Amazon Native Ads’ is closed to new replies.