Tracker setup
Zayine
Paste one script tag into zayine.zeravest.ng and this dashboard starts filling with that site's events. Repeat the same three steps for every website in the network.
Site identity
Used by the sidebar switcher and the CORS check
- Name
- Zayine
- Domain
zayine.zeravest.ng- Dashboard slug
/s/zayine- Created
- 2026-11-24
Public site key
tlk_6e31538a3c65fab21e0a254f37699d71This key is public — it only has permission to write events, never to read them. Requests are additionally restricted to zayine.zeravest.ng and its subdomains.
1. Embed the tracker
One script tag in the site's <head>, on every page
<script defer src="https://telytics.zeravest.ng/t.js" data-site="tlk_6e31538a3c65fab21e0a254f37699d71"></script>Use the URL of this analytics app, not the public site. The script automatically sends a pageview on load and on client-side route changes (Next.js, React Router, etc.). It respects Do Not Track and never blocks the host page.
2. Mark clicks and funnel events
Data attributes for clicks, a tiny JS API for the funnel
<!-- ticker clicks: sent as click_ticker with { ticker } -->
<a href="/markets/nvda" data-ticker="NVDA">NVDA</a>
<!-- any custom event -->
<button data-telytics-event="subscribe_click">Subscribe</button>
<!-- custom event with extra properties (JSON) -->
<button
data-telytics-event="paywall_cta"
data-telytics-props='{"placement":"inline","plan":"metered"}'
>
Read more
</button>// The tracker exposes a tiny API: name + optional properties object.
window.telytics?.track("paywall_shown", { plan: "metered" });
// Call these from the real places in your product:
window.telytics?.track("subscribe_click", { placement: "header" });
window.telytics?.track("checkout_complete", { plan: "annual", value: 120 });Ticker clicks automatically land in “Most clicked tickers”. Sent the four funnel names — pageview, paywall_shown, subscribe_click, checkout_complete — and the conversion panel fills in.
3. Send a test event
A pageview from curl should appear within 60 seconds
curl -X POST https://telytics.zeravest.ng/api/track \
-H "Content-Type: application/json" \
-d '{"site":"tlk_6e31538a3c65fab21e0a254f37699d71","eventName":"pageview","path":"/test"}'Server-to-server calls do not send an Origin header, so they skip the browser CORS check. The dashboard refreshes itself every minute; you can also reload it.
CORS is per site. The tracker endpoint accepts browser writes from zayine.zeravest.ng, its subdomains, and anything listed in ALLOWED_ORIGIN. A key copied from another site cannot post its data here from a different origin. To move a site to a new domain, update the site.domain row — the embed snippet stays the same.