New breaking change - Custom html header

Hi - I wanted to share an anomaly I found using the Page HTML Header which may help others.

I was trying to get Drift working on an app by pasting the Drift JavaScript code snippet into my Index page’s Page HTML Header but it wasn’t working. I reached out to @dan1 because I know he uses Drift on LearnTo. In talking with him, he has his Drift JS snippet in his HTML Headers. As an experiment, I removed the JS snippet from the HTML Header and put an HTML Element on my Index page with the JS snippet. Drift worked!

But it didn’t make sense why I couldn’t use the HTML Header like Dan.

Turns out the HTML Header behaves differently between Bubble’s paid plans and free plans. I’d been using a Bubble free plan with Drift.

But when I put the JS snippet in the HTML Header on one of my app’s using a paid plan, it worked.

So for others out there putting JS code in their app, note that you may (or may not) get different behavior for paid vs non-paid plans (I can’t say for certainty that Bubble behaves this way with all JS snippets). If the Page Header doesn’t work, chances are adding an HTML Element will do the trick. But test and verify.

@emmanuel - does this make sense to you that the HTML Header behaves a bit differently between paid and free plans?

@vincent56 - was the issue you were seeing on a paid or free plan?

@dan1 - thanks for going back/forth with me on this!