Basic installation
Add the pixel code inside the<head> tag of your website:
Single-page applications (SPA)
If your website is built with React, Vue, Next.js, or another SPA framework, add the pixel to your main HTML template (usuallyindex.html or _document.js).
The pixel detects page navigation automatically and re-evaluates notification triggers on each route change.
Multiple domains
If your hotel group has multiple websites, create a separate property in TinyBell for each domain. Each property gets its own pixel code. Do not use the same pixel code on different domains.Content Security Policy (CSP)
If your website uses a Content Security Policy, add TinyBell’s domain to thescript-src directive: