Installing custom code on a Zoho Sites

Add scripts like Madlitics to the header of every page in Zoho Sites.
Attribution is broken

Zoho is a popular website builder designed for entrepreneurs, small businesses, and teams looking to launch branded websites without touching a line of code. But for marketers who rely on third-party tools—like analytics, advertising platforms, or attribution services—Zoho also includes built-in features that let you add custom code across your site.

In this guide, we’ll walk you through how to add a custom code snippet—like the one used by Madlitics—into the <head> tag of your Zoho Sites project. This ensures that scripts like tracking pixels or attribution tools run on every page, right when the site loads.

📝 Note: If you're on a limited plan, check your access to the Header and Footer Code section.

Adding Custom Code to the Header in Zoho Sites

  1. To start, log in to your Zoho Sites dashboard and select the project you want to update.
  2. From the dashboard, navigate to the Customization section using the left-hand sidebar. Then select Code. This opens up the interface where you can insert header and footer scripts.
  3. Within this editor, you’ll see two primary fields: Header Code and Footer Code. To install Madlitics — or any script that needs to load in the <head> — paste your snippet directly into the Header Code box.
  4. Once your code is added, click Save to apply the changes. Then hit Publish to push those changes live across your entire site.
Navigate to Customization > Code from the Zoho Sites dashboard to access the header and footer code editor.
‍
Paste your custom script—like the Madlitics snippet—into the Header Code tab. Then click Save and Publish to apply changes site-wide.

Verifying your Madlitics installation
To confirm your installation, open your site in a browser and right-click anywhere on the page, then select Inspect (or use Cmd + Option + I on Mac / Ctrl + Shift + I on Windows). In the Elements tab, scroll to the <head> section and look for your code snippet — such as the madlitics.com script URL. If it’s there, your injection is active and ready to collect data.

Stacked bar chart showing lead generation by marketing channel over time, comparing sources like Paid Search, Paid Social, Organic Search, Direct, and Email. Helps visualize which channels drive the most traffic.
Line chart displaying lead-to-customer conversion rates by channel, comparing Google Ads, Facebook Ads, LinkedIn Ads, Organic Search, and Email. Shows how different sources drive qualified leads over time.
Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.

Related articles

Need Help? 
If you're having trouble or want someone to walk through your setup, reach out to our team. We’re happy to help confirm your Madlitics installation or troubleshoot any issues with your custom script.

Frequently asked questions

Answers to common questions around Zoho CRM and Madlitics