Tips & Tricks

  1. Getting Android Platform Info

    Getting platform and device information with errors from Android devices.

  2. Exclude Analytics Network Requests

    Exclude irrelevant network requests from Telemetry

  3. Wait for GDPR Consent

    Exclude irrelevant network requests from Telemetry

  4. Hide Console Messages

    Hide console.log from production.

  5. Include Network Payloads

    Include network request & response bodies

  6. Monitoring JavaScript Memory

    Monitor JavaScript memory usage in production with TrackJS. Track errors when heap usage exceeds 90%, add memory data to telemetry, and detect DOM growth. While browser APIs are limited to Chrome, basic monitoring can catch critical memory leaks before they crash your users' browsers.

  7. Monitoring Resource Load Errors

    Catching errors loading resources like scripts, images, and css.

  8. Monitoring Errors while Offline

    Catching errors loading resources like scripts, images, and css.

  9. Page Versions

    Tagging page versions and reading into TrackJS

  10. Passive Tracking

    Setting the agent to passively track errors only.

  11. Single Error Metadata

    Setting metadata on a single error only.

  12. State Telemetry

    Adding Application State Telemetry for your app

  13. Subresource Integrity Checks (SRI)

    Using Subresource Integrity Checks with the TrackJS agent