• I am trying to embed custom HTML from Amazon Affiliates “native shopping ads” into a post, but can not get it to show up. I copied and pasted the HTML code straight from Amazon into a “custom HTML” box on WordPress.

    On the page I included, there should be an ad after each section, but it is just blank! I haven’t been able to find a solution in my research. Thank you in advance.

    • This topic was modified 2 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Whats that for a “custom HTML”-box? Do you use any plugin for it? If so: which? Could you also please provide an example of the code you insert there?

    Thread Starter mmccarth17

    (@mmccarth17)

    I don’t use a plugin for it, just the built-in option on WordPress.

    Code like this:

    <script type="text/javascript">
    amzn_assoc_tracking_id = "mollymccarthy-20";
    amzn_assoc_ad_mode = "manual";
    amzn_assoc_ad_type = "smart";
    amzn_assoc_marketplace = "amazon";
    amzn_assoc_region = "US";
    amzn_assoc_design = "enhanced_links";
    amzn_assoc_asins = "B08L3NHJ88";
    amzn_assoc_placement = "adunit";
    amzn_assoc_linkid = "10cae53008af8220c8cb07727820116c";
    </script>
    <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>

    Which option exact? The Gutenberg-Block for HTML-Code? Or something other?

    By the way, in my Firefox browser the call of this code is blocked by Amazon because it is used for tracking. This will probably happen to anyone who uses the browser’s default settings. Therefore, you will never see the ad placement. Contact Amazon for clarification of this and whether they offer other ways of integration.

    Thread Starter mmccarth17

    (@mmccarth17)

    Yes, the Gutenberg-Block for HTML-Code!

    And that is interesting to know – I will have to look into that with Amazon!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom HTML From Amazon Not Showing Up’ is closed to new replies.