How to install Lead Recorder on Duda
Add the Lead Recorder snippet to a Duda site using the Head HTML field in Site Settings.
Duda has a dedicated field for custom head code, separate from the page content itself, where a script tag like Lead Recorder's belongs.
Step 1: Copy your snippet
Log in to Lead Recorder, select your site, and copy your tracking snippet.
<script src="https://www.leadrecorder.com/api/script/YOUR_KEY" defer></script>
Step 2: Add the code in Duda
- 1Open your site in the Duda editor.
- 2In the left-hand menu, select SEO & Settings (older versions: click More, then Settings).
- 3Find the Head HTML field (older versions: Header HTML).
- 4Paste your Lead Recorder snippet into the box, not into End Body HTML.
- 5Save, then republish the site for the change to take effect on the live domain.
Duda only accepts certain code in this field: <link>, <script>, and <meta> tags, which is exactly what the snippet is. If a consent management app is also installed, Duda's own guidance recommends placing tracking scripts in End Body HTML instead so consent can gate them properly; if you're running one, use that field instead of Head HTML.
Step 3: Verify installation
Visit your published Duda site and view the page source for leadrecorder. Editor preview updates instantly, but the live site only reflects the change after a republish.