Set up Dbrij Glass step by step: what you need, what to press, and how you know each step worked.
By the end Glass records your site, you’ve watched real visits, and you know where people struggle.
Before you start, have these ready
</body>, or send it to whoever edits your site. That is the whole install.Glass records what people do on your site: sessions you can replay, click and scroll heatmaps, funnels, weekly retention, custom events and the frustration signals behind them.
Glass watches how people use your product from the inside of their visit: which pages they open, where they click and scroll, where they hesitate, and where they give up. One script tag (or one native tracker) sends small batches of events to Dbrij; the dashboard turns them into sessions, heatmaps, funnels and retention.
Replay is not video. On websites, Glass records the page itself: a snapshot of the page structure, then every change to it, every input (masked), every scroll and mouse move, as tiny timestamped events. The player rebuilds the page and applies those events again, which is why a five minute session costs kilobytes, plays pixel perfect at any speed, and can mask passwords before they ever leave the visitor's browser.
Three ideas the whole product is built on:
Create a site on the Sites page to get its tracking key (it starts with gk_), then paste one line before </body>:
<script src="https://glass.dbrij.com/glass.js" data-site="gk_your_site_key" defer></script>That is the whole install. Events start arriving within seconds of the next visit; the Dashboard's "on the site now" counter is the quickest way to confirm it is live. Three details worth knowing:
glass.dbrij.com inscript-src and the Dbrij API in connect-src.If the site runs on Dbrij Hosting you never paste anything. The Sites page (and the first run screen) lists your hosted web services under Sites you host on Dbrij; one tap on Watch this site creates the Glass site, fills its domain allowlist, and injects the tracker at the hosting edge, the same mechanism that carries the Resolve support bubble. It applies in about a minute with a rolling restart, no rebuild, and a Stop button removes it just as cleanly.
Every stack can feed the same dashboard; what differs is the install and whether replay exists:
@dbrij/glass-native package. Sessions, screens, taps, events and identify, batched with an offline queue.Native sessions show device iOS or Android in every breakdown. Session replay is web only: native app sessions arrive with full analytics but no recording, because there is no page to record. Screens you name with glass.screen('Checkout') become paths like /checkout everywhere paths appear.
The 24h, 7, 30 and 90 day pickers appear on most pages and always mean the same window. Data older than your retention setting (90 days by default) is gone by design; see Sites and settings.
The Replays page lists sessions newest first; rows with a recording open the player. Filters cut straight to the visits worth watching: rage clicks, long sessions, has replay, device.
Pick a page and a device class; Glass draws every click in the window as heat, positioned relative to the full page. Three panels, three questions:
data-glass-id="buy-button" to important elements and this list shows your name instead of a long CSS path.Every row here has sessions behind it: open Replays with the rage filter and watch the actual person hit the problem. Ask Glass at the top reads the whole window and writes a plain language summary with one concrete thing to investigate; it is billed from your AI credits per use, never automatically.
Pageviews, clicks and scrolls arrive free. Custom events are the business moments only your code knows: signed up, paid, invited a teammate. Fire them with one call anywhere after the snippet:
window.glass.track('signup', { plan: 'pro' });
window.glass.identify('user_1234', { plan: 'pro' }); // after loginThe Events page ranks event names by count and unique people; picking a name breaks down its properties (the { plan: "pro" } part) by value, with the recent stream underneath. Everything you can pass becomes a breakdown, so name properties for the questions you will ask: plan, source, step, amount.
identify ties the device's sessions to your own user id so a visitor is recognisably the same account. The full setup reference, including firing events before the script loads, lives on the Events page itself under How to send events.
A funnel names the steps that matter and counts who made each one. Steps are either "visited page" (exact or contains) or "did event"; the window says how long after step one the rest may happen, from within one session up to 30 days.
The retention grid answers one question: of the people who first showed up in a given week, how many came back one week later, two weeks later, and so on. Each row is a weekly cohort; each cell is the share of that cohort active that many weeks after first being seen.
Everything configurable lives on the Sites page, per site:
Glass is a flat company subscription with one million events included per calendar month, shared across all your sites. An event is one pageview, click, scroll update or custom event; a typical page visit costs a handful.
class="glass-block" (or data-glass-block) to an element: it is never recorded, not even masked. Use glass-mask to record the element's presence but hide its text.Glass belongs to the company. The owner always has it; everyone else needs the Glass grant, given through a role or directly on the Access page. People without the grant see Glass locked in the product switcher and can request access from there.
The numbers travel with you: the Dbrij mobile app carries Glass with the dashboard, the sessions list and insights. Watching replays stays on the web, where the player lives.
data-glass-id for clearer heatmaps.Dbrij is Nigeria’s company operating system: the first Nigerian built platform to put team chat, video meetings, email, HR, tax compliant payroll, customer support, marketing, analytics and cloud hosting in one product on one subscription.