What is the pixel?
The pixel is a single line of JavaScript that enables TinyBell on your website. It loads asynchronously, so it does not slow down your site.Get your pixel code
- Log in to your TinyBell dashboard.
- Go to Hotels / Properties.
- Click on your property.
- Copy the pixel code from the Pixel Code section.
Install on your website
Paste the pixel code inside the<head> tag of every page where you want notifications to appear.
- HTML
- WordPress
- Google Tag Manager
- Shopify
Verify the installation
- Visit your website.
- Open browser Developer Tools (F12 or right-click > Inspect).
- Go to the Network tab.
- Search for
pixel. You should see a request tothetinybell.com/pixel/...with status 200.
If you see the request with status 200, the pixel is installed correctly.
Troubleshooting
| Problem | Solution |
|---|---|
| Pixel not loading | Check that the script tag is inside <head> and the URL is correct |
| Notifications not showing | Make sure the property is enabled and at least one notification is active |
| Pixel loads but nothing appears | Check your notification trigger settings (exit intent won’t show on page load) |
| Conflict with other scripts | Add defer to the script tag if not already present |