# Amazon Affiliate ads without iframe

**URL:** https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765
**Category:** Support
**Tags:** advertising
**Created:** [November 30, 2019, 7:37pm UTC](https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765 "2019-11-30T19:37:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [December 2, 2019, 3:33pm UTC](https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765/2 "2019-12-02T15:33:55Z")

</div>

That’s interesting. So the plugin’s amazon support needs to be completely rewritten.

It looks like you don’t need a plugin for this though. Can you try using theme components to place the ad code wherever you want? I wrote about it here:

> [@Request: House Ads Plugin](https://meta.discourse.org/t/request-house-ads-plugin/75532/3):
>
> I thought of this request again, and it turns out that it’s fairly simple to implement without a plugin now by using [Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--4-b). The code for placing an ad above topics, and after every 3 posts: \<script type="text/x-handlebars" data-template-name="/connectors/topic-above-post-stream/my-house-ads"\> \<div style="margin-bottom:10px;"\> \<a href="http://www.discourse.org/buy"\> Discourse Hosting For YOU! \</a\> \</div\> \</script\> …

---

_[View the full topic](https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765)._
