Skip to content

Help center

Why can't I add JavaScript to my site's header?

To protect your buyers' accounts. CSS works on every page, and free code runs in an isolated frame.

Frequently asked questions

Your buyers sign in on your pages, and any JavaScript on the page itself could reach their sessions. So you get CSS for all your pages in "Payments & email", the menu, header and footer in the design editor, and free code (HTML and JavaScript) in the "Custom code" section inside an isolated frame. Tracking tools (Meta, TikTok and Google) are connected from "Marketing".

Updated 20 November 2026

Was this article helpful?

Related articles

Still need help?

Write to the Yarbah team and we will reply by email.