From describing your business to your first lead — step by step.

Adding custom code

Add a chat widget, advanced tracking or your own JavaScript.

Requires Pro or above.

Open Page settings → Custom code. There are two fields:

  • `<head>` — runs before the page renders: meta tags, verification codes, prefetch.
  • `<body>` — runs after content renders: chat widgets, event tracking.

Each field holds up to 8KB. Code takes effect on the next page load.

To run your own code on every lead, listen for the trano:lead event on document — detail.form_type is contact or booking.

This code runs on your public page. Only paste code from sources you trust — unknown code can break the page or collect your visitors' data.

Can't find an answer?

Message us — we usually reply within business hours (8:00–18:00, Mon–Fri, Vietnam time).