https://ingest.datalyr.com, and the status on that request names the failure. Start there before you change any code.
Read the status first
Open devtools, select the Network tab, and reload the page. Filter oningest.
The SDK treats any 4xx except 408 as permanent, so it drops that batch instead of retrying. Fix the cause above, then send the event again.
Server SDK statuses on /track
No request leaves the browser
Run these four in the console on the page you are testing.The SDK loaded but sends nothing
Tracking stops in five cases. Runwindow.datalyr.isOptedOut() first.
Do Not Track is off by default, so a DNT browser is tracked.
Server and mobile SDKs send nothing
The SDK batches. It sends after 10 events or 5 seconds, whichever comes first. It retries 5 times and queues 100 events offline.Verify
- Open Live.
- Reload the page you are testing.
- Confirm your visitor appears within 30 seconds.
watching for events, contact support. Send the workspace public ID, the X-DL-SDK-Version header value, and the status code.