> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hostinger Website Builder

> Add a GDPR & CCPA compliant cookie consent banner to your Hostinger Website Builder site with CookieChimp. Install via Integrations & custom code.

Add a GDPR, ePrivacy and CCPA compliant [cookie consent banner](/why-use-a-cmp) to your Hostinger Website Builder site (formerly Zyro). CookieChimp installs through the builder's **Integrations → Custom code** settings.

<Steps>
  <Step title="Copy your CookieChimp snippet">
    <Snippet file="install/cms-copy-snippet-step.mdx" />
  </Step>

  <Step title="Add the snippet to your Hostinger site">
    1. Sign in to your [Hostinger account](https://hpanel.hostinger.com/) and open the **Website Builder** for your site.
    2. In the builder, open the **Settings** menu (gear icon, top-right).
    3. Choose **Integrations**, then **Custom code**.
    4. Click **+ Add custom code**.
    5. Paste the CookieChimp snippet into the code field.
    6. Set **Placement** to **Head**, and **Pages** to **All pages**.
    7. Click **Save**, then **Publish** your site.

    <Snippet file="install/script-first-warning.mdx" />
  </Step>

  <Step title="Block scripts & cookies">
    <Snippet file="install/cms-block-scripts-step.mdx" />

    <Tip>
      Hostinger's built-in Google Analytics and Facebook Pixel integrations inject scripts via the same Integrations menu. To enforce consent, disable those built-in integrations and re-add the tracking scripts as custom code with `type="text/plain"` and a `data-category` attribute so CookieChimp can manage them.
    </Tip>
  </Step>

  <Step title="Allow users to update their preferences">
    <Snippet file="install/cms-preferences-step.mdx" />

    To open the preferences modal from a button on your Hostinger site, add an **Embed** element with HTML containing the `data-cc="show-preferencesModal"` attribute.
  </Step>
</Steps>

## Troubleshooting

* **Banner doesn't appear** — make sure your Hostinger domain (including the `*.hostingersite.com` preview URL and your custom domain) is allowed in **Account Settings → Additional Domains** in your CookieChimp dashboard.
* **"Custom code" option is missing** — Custom code is available on Hostinger's **Business** Website Builder plan and above. The basic plan may not include it.
* **Banner shows in preview but not on live** — Hostinger publishes changes only after you click **Publish**. Editor preview may use cached snippets.

<Snippet file="install/cms-troubleshooting-footer.mdx" />

## Hostinger cookie banner FAQ

<AccordionGroup>
  <Accordion title="Does this also work on the old Zyro builder?">
    Yes. Hostinger Website Builder is the rebranded version of Zyro and the Custom code menu works identically.
  </Accordion>

  <Accordion title="Does CookieChimp work with Hostinger's AI website builder?">
    Yes. Whether the site was generated by the AI builder or built manually, CookieChimp runs from the same Custom code injection point.
  </Accordion>

  <Accordion title="Will the banner appear on every page including the cart and checkout?">
    Yes, as long as the **Pages** setting is **All pages** when you add the custom code. CookieChimp loads on every Hostinger-rendered page.
  </Accordion>

  <Snippet file="install/cms-common-faqs.mdx" />
</AccordionGroup>
