Publishing

Custom code (CartPanda & pixels)

Available on the Growth plan
This feature is included on Growth and above.
Compare plans

Some checkout and verification tools (like CartPanda) give you a snippet to paste into your page.

  1. In the Theme editor, open Theme settings (the first row of the left panel), and scroll to Custom code.
  2. Choose where it goes:
  • In <head> — required by CartPanda and most checkout/verification snippets.
  • End of <body> — fine for most tracking pixels.
  1. Paste your snippet (or Insert template for a starting point).

The code is injected verbatim into the public page.

Custom code as a section on the page

For code that belongs in a particular place on the page — a widget, an embed, a styled box between two of your blocks — add it as a Custom code section instead: Add a block → Content sections → Custom code. Each one takes HTML, with <style> and <script> tags if you need them, and renders in its spot among the blocks; move it like any other block. Add as many as you need — one per content slot. Custom code sections are available on the Starter plan and up.

Custom code used to be a separate block — it now lives in Theme settings alongside fonts and colors. Only paste code from sources you trust — it runs in every visitor's browser. Like the rest of Theme settings, it's folder-inherited.

Ready to try it yourself?Start your free trial