# Page HTML Header not working?

**URL:** <https://forum.bubble.io/t/page-html-header-not-working/52079>\
**Category:** Bugs\
**Created:** [March 16, 2019, 9:21pm UTC](https://forum.bubble.io/t/page-html-header-not-working/52079 "2019-03-16T21:21:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [March 16, 2019, 9:21pm UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/1 "2019-03-16T21:21:29Z")

</div>

This seems pretty basic, but perhaps I’m misunderstanding. When I put the following in the **Page HTML Header** field of the property editor for the page…

```
<script>
    alert('Hey!');
</script>

```

…nothing happens when I view the page. I’ve tried it on several different pages with no effect. If I use a `<style>` element, it has no effect either. Am I missing something?

---

<div class="post-metadata">

**Author:** ![mebeingken](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mebeingken/32/20139_2.png) [@mebeingken](https://forum.bubble.io/u/mebeingken)\
**Post date:** [March 16, 2019, 10:12pm UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/2 "2019-03-16T22:12:35Z")

</div>

Hey Steve,

Working in a vanilla page for me:

![26%20PM](https://us1.discourse-cdn.com/bubble/original/3X/e/5/e514aafac298be11d9c9b1f10305f6abcf631c2d.png)

 ![06%20PM](https://us1.discourse-cdn.com/bubble/original/3X/d/2/d24821d1535846239e0c2b564e5d322794885a8e.png)

Maybe try loading in one of the safe modes to troubleshoot.

–Ken

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [March 16, 2019, 10:42pm UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/3 "2019-03-16T22:42:35Z")

</div>

Thanks for testing, @mebeingken. Will do.

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [March 17, 2019, 12:44am UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/4 "2019-03-17T00:44:57Z")

</div>

Ken, just out of curiosity, did you try that on a free tier app or a paid plan?

---

<div class="post-metadata">

**Author:** ![mebeingken](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mebeingken/32/20139_2.png) [@mebeingken](https://forum.bubble.io/u/mebeingken)\
**Post date:** [March 17, 2019, 1:09am UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/5 "2019-03-17T01:09:38Z")

</div>

Agency

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [March 17, 2019, 3:20am UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/6 "2019-03-17T03:20:26Z")

</div>

Aha! Thanks, Ken! So here’s what I’ve learned…

I noticed the following under the **SEO / metatags** section of the app settings on the free tier:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/5/052058466fdcb7898c04a722a5325b85b04374ea.png)

(BTW, that should probably say “ **Personal plan or greater** ” or simply “ **paid plan** ”.) However, it apparently applies not only to **app-level** custom headers but also to **page-level** custom headers, because that same JS snippet works fine in both locations on a paid plan. What’s perplexing is that there’s no indication at the page level that it won’t work on a free plan. Why not just disable or hide the field altogether to avoid confusion?

Anyway, something does seem awry with custom headers inside a plugin element - specifically, they don’t work - not even if the plugin is used in an app on a paid plan. That seems like a bug. How can a plugin be properly developed and tested if parts of it don’t work? I suspect [this post](http://forum.bubble.io/t/plugin-issues-html-headers/52063) is referencing the same issue.

Unless someone has some insights on this issue, I’ll go ahead and report it as a bug.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 30, 2019, 9:21pm UTC](https://forum.bubble.io/t/page-html-header-not-working/52079/7 "2019-03-30T21:21:35Z")

</div>

Closed on March 30, 2019, 9:21pm UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
