TapCub is live — analytics, insights and live chat, free on one platform
Help center

How do I hide the chat widget on some pages?

Per-page hiding with one attribute, hiding on phones with a setting, and loading the launcher directly.

Live chat1 min readLast updated Oct 28, 2026TapCub teamPart of Turn on the chat widget

Short answer

Add data-chat="false" to the TapCub script tag on those pages. Chat stays off there; analytics on the page keeps working.

Hide on one page

The switch in Chat settings applies to the whole site. On a page where chat should not appear, such as checkout or a landing page with its own form, add the attribute to the tag:

checkout.html
<script defer src="https://static.pathclue.com/client.js" data-site="YOUR_SITE_KEY" data-chat="false"></script>

Only chat is affected. Pageviews, events and autocapture on that page are sent as usual.

Hide on phones

Turn on Hide bubble on mobile under Live chatChat settingsAppearance. The bubble is then not shown when the window is narrower than 640 px or the browser identifies as a phone. Visitors can still reach you through the chat link.

Loading the launcher directly

You can also load the launcher yourself, for example to show the bubble without waiting for the first pageview:

index.html
<script defer src="https://static.pathclue.com/client.js" data-site="YOUR_SITE_KEY"></script>
<script async src="https://chat.askcub.com/widget.js"></script>

A directly loaded launcher still follows the switch in Chat settings: if chat is off, no bubble appears.

Did this answer your question?

We use your answers to fix and expand this page.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics