# Inserting a custom script after Header

**URL:** <https://meta.discourse.org/t/inserting-a-custom-script-after-header/159438>\
**Category:** Product Support\
**Created:** [July 31, 2020, 5:20pm UTC](https://meta.discourse.org/t/inserting-a-custom-script-after-header/159438 "2020-07-31T17:20:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [August 3, 2020, 5:13am UTC](https://meta.discourse.org/t/inserting-a-custom-script-after-header/159438/4 "2020-08-03T05:13:50Z")

</div>

> [@AntiMetaman](#):
>
> Actually, I just ended up using iframe. I put an iframe inside House Ads and that worked

Except that Google will not recognize the subject of your forum and will serve your visitors ads that are way less relevant, totally tanking your revenue.

> [@AntiMetaman](#):
>
> The ads from Google Adsense do update if you refresh the page.

They won’t if you simply navigate to another page.

---

_[View the full topic](https://meta.discourse.org/t/inserting-a-custom-script-after-header/159438)._
