Installation
Add script tag. Done. Start tracking in 30 seconds.
Create a free account to get your unique API key. This identifies your website in our system.
Choose your framework and copy the snippet:
<!-- Add before closing </body> -->
<script
src="https://www.sourcetrace.xyz/t.js"
data-site="YOUR_SITE_ID|YOUR_API_KEY"
async>
</script>Replace your-api-key with your actual API key from step 1.
→Visit your website
→Open browser console (F12)
→Type ST.sessionId() — should return a UUID
→Check your dashboard — pageview appears within seconds
Automatic tracking
Advanced
// Track custom events
ST.track('video_played', { id: '123' });
// Track conversions
ST.convert('signup', 99.00);
// SPA navigation
ST.page();Ready to see your AI traffic?