✅ Tracker is deployed and ready to use
Add this script tag to your DeGroot Logistics website (before closing </head> tag):
<script src="https://degroot-analytics.pages.dev/analytics.js" async></script>
?uid= parameterapi.thewatcher.devTo test campaign tracking:
https://degrootlogistics.com/?uid=000123localStorage.getItem('dg_active_uid_degroot-logistics')"000123"To enable console logging, add this BEFORE the script tag:
<script>
window.__TRACKING_CONFIG__ = { debug: true };
</script>
<script src="https://degroot-analytics.pages.dev/analytics.js" async></script>
Access analytics functions via:
// Get current state
window.degrootAnalytics.getState()
// Identify a user
window.degrootAnalytics.identifyUser('user@example.com')
// Track custom event
window.degrootAnalytics.recordCustomEvent('button_click', { buttonId: 'cta-1' })
Site ID: degroot-logistics
Endpoint: https://api.thewatcher.dev/api/track
Script URL: https://degroot-analytics.pages.dev/analytics.js
Powered by TheWatcher Analytics • Dashboard