Documentation Index
Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt
Use this file to discover all available pages before exploring further.
Use domain-level custom code to inject scripts, tracking pixels, or global styles into every landing page published under a specific domain, without editing each page individually.
What is Domain-Level Custom Code?
Domain-level custom code lets you add HTML, JavaScript, or CSS that runs on every page published under a specific domain in LanderLab. Instead of adding the same script to each landing page one by one, you add it once at the domain level and it gets automatically injected into all pages on that domain. This is useful for:- Global tracking pixels (e.g. a Google Tag Manager container)
- Analytics scripts that should run on every page
- Custom CSS or styles that apply across all pages on the domain
- Any third-party script that needs to be present on every page
Where to Add Domain-Level Custom Code
Click Domains
In the Settings menu, select Domains. You will see a list of all domains connected to your account.
Open the domain menu
Find the domain where you want to inject global scripts. Click the three-dot menu (…) on the right side of that domain row.

Go to the Custom Code tab
Inside the domain settings modal, click the Custom Code tab. You will see two code editor panels:

| Panel | Description |
|---|---|
Inside head before </head> | Code entered here is injected into the <head> of every page on this domain. Use this for tracking pixels, analytics tags, and meta scripts that need to load in the head. |
Inside body before </body> | Code entered here is injected just before the closing <body> tag of every page. Use this for scripts that should load after the page content. |
Which Panel Should I Use?
As a general rule:- Head panel - Use for tracking pixels, tag managers (e.g. Google Tag Manager), and analytics initialization scripts. These typically need to load as early as possible.
- Body panel - Use for scripts that depend on the page content being loaded first, or for any third-party widget that recommends placement before
</body>.
Domain-level custom code is injected into every page on that domain. If you need a script to run only on a specific landing page, use the per-page custom code setting inside the landing page editor instead.