🟢
Connected ✓ Your SDK is active and sending events.
View Events →
1
Copy snippet
2
Paste into site
3
Verify connection

Copy your script tag

One line of code. That's it. Drop it on any page and start tracking in seconds.

Your snippet
<script src="https://littlebirdos.polsia.app/sdk/littlebirdos.js"
        data-key="lbo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></script>
Copied to clipboard — paste it before </head> on any page.

Paste into your site

Add the script tag just before the closing </head> tag on any page you want to track.

index.html
<html> <head> <title>My App</title> <!-- your existing tags --> <script src="...littlebirdos.js" data-key="lbo_xxx"></script> ← paste here </head> <body>...</body> </html>

Verify connection

Visit a page that has the script tag — even open a new tab. We'll detect the first event automatically.

Waiting for first event...
Open a page with your script tag installed
60s remaining
🎉

Connected! You're live.

Events are flowing. LittlebirdOS is tracking your users.

View Events →

No events yet

Make sure the script tag is on a page that gets traffic, then try again.

LittlebirdOS.track(event, props)
Track Custom Event
Track any custom event. Props are optional metadata.
LittlebirdOS.identify(userId, traits)
Identify User
Identify a user with optional traits (email, plan, etc). Persists across sessions.
LittlebirdOS.getUserId()
Get User ID
Returns the current anonymous or identified user ID.
LittlebirdOS.flush()
Flush Events
Immediately send all queued events to the server.