Forms hosted on a custom domain have access to a code injection block. This lets you inject code snippets or custom styles on both form and domain level. For example:
✔️ Inject analytics tracking codes
✔️ Add custom events
✔️ Style forms with custom CSS
✔️ Use your own custom font
✔️ Add widgets (Intercom, Buy Me a Coffee…)
<aside> <img src="/icons/flash_pink.svg" alt="/icons/flash_pink.svg" width="40px" /> Code injection box is a Tally Pro feature and requires coding skills.
</aside>
Start by setting up your custom domain. Then, open Domains
in your Tally sidebar.
<aside> <img src="/icons/code_blue.svg" alt="/icons/code_blue.svg" width="40px" /> Are you a developer? Refer to our Developer Resources for in-depth explanation with code examples for custom events, getting and updating input values, and more.
</aside>
Click on your domain to open it and scroll down. You'll find the code injection box in the General settings
section.
Paste your code snippets and click Save changes
.
<aside> <img src="/icons/warning_red.svg" alt="/icons/warning_red.svg" width="40px" /> Code injection on domain level will affect all the forms connected to your (sub)domain.
</aside>